remove old instal in usr/bin
This commit is contained in:
parent
a1722b9f3a
commit
f1b7b33347
1 changed files with 3 additions and 3 deletions
6
archdi
6
archdi
|
@ -46,6 +46,9 @@ install(){
|
||||||
echo ""
|
echo ""
|
||||||
echo "$apptitle is installed."
|
echo "$apptitle is installed."
|
||||||
echo "type archdi to start."
|
echo "type archdi to start."
|
||||||
|
if [[ -f "/usr/bin/archfi" ]]; then
|
||||||
|
rm /usr/bin/archfi
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
run(){
|
run(){
|
||||||
|
@ -160,9 +163,6 @@ chkupgrade(){
|
||||||
cd /tmp
|
cd /tmp
|
||||||
wget $binurl
|
wget $binurl
|
||||||
sh archdi -i
|
sh archdi -i
|
||||||
if [[ -f "/usr/bin/archfi" ]]; then
|
|
||||||
rm /usr/bin/archfi
|
|
||||||
fi
|
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue