This commit is contained in:
milisbir 2018-02-02 08:44:43 +02:00
parent e6f32f47a2
commit f46eeab8f6
1 changed files with 4 additions and 3 deletions

View File

@ -8,12 +8,13 @@ betikyol="$0"
shelltip=$(basename `cat $betikyol | head -n1 | cut -d'!' -f2 | cut -d' ' -f1`)
# sistem araçlarının tespiti ve atanması
if [ ${shelltip} = "busybox" ] || [ ${shelltip} = "ash" ];then
#if [ ${shelltip} = "busybox" ] || [ ${shelltip} = "ash" ];then
if [ ${BASH_VERSION} ];then
wget_progress="--show-progress"
else
alias sed="busybox sed"
alias wget="busybox wget"
wget_progress=""
else
wget_progress="--show-progress"
fi
#alias sed="sed"