mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 16:33:09 +01:00
16 lines
584 B
Diff
16 lines
584 B
Diff
--- searchsploit.orig 2018-08-04 07:52:12.380881696 +0800
|
|
+++ searchsploit 2018-08-04 08:10:02.619869667 +0800
|
|
@@ -108,6 +108,13 @@
|
|
## Update database check
|
|
function update()
|
|
{
|
|
+ echo -e "\nWarning: the build-in update (-u) is disabled in Pentoo \n "
|
|
+ echo -e "Instead, you should update it using one of the following commands:"
|
|
+ echo -e " emerge -1 app-exploits/exploitdb"
|
|
+ echo -e " smart-live-rebuild\n"
|
|
+ #something went wrong
|
|
+ exit 1
|
|
+
|
|
arraylength="${#files_array[@]}"
|
|
for (( i=0; i<${arraylength}; i++ )); do
|
|
## Check to see if we already have the value
|