We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13bfb20 commit 8983d4dCopy full SHA for 8983d4d
install.sh
@@ -16,12 +16,14 @@ BINS["printf"]=0
16
BINS["date"]=0
17
BINS["md5sum"]=0
18
19
+SUGGESTED_DEBS="coreutils grep sed wget avahi-utils"
20
+
21
for pitem in ${PATH//:/ }
22
do
23
for item in "${!BINS[@]}"
24
25
if [ -x "${pitem}/${item}" ]
- then
26
+ then
27
BINS[${item}]="${pitem}/${item}"
28
fi
29
done
@@ -38,7 +40,13 @@ do
38
40
notfound=1
39
41
42
-[ ${notfound} -eq 1 ] && exit 1
43
44
+if [ ${notfound} -eq 1 ]
45
+then
46
+ echo "Some items are missing, you may find them with:"
47
+ echo "sudo apt install -y ${SUGGESTED_DEBS}"
48
+ exit 1
49
+fi
50
51
TARGET="/usr/local/bin/apt-proxy-detect.sh"
52
# download latest
0 commit comments