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 "$apptitle is installed."
|
||||
echo "type archdi to start."
|
||||
if [[ -f "/usr/bin/archfi" ]]; then
|
||||
rm /usr/bin/archfi
|
||||
fi
|
||||
}
|
||||
|
||||
run(){
|
||||
|
@ -160,9 +163,6 @@ chkupgrade(){
|
|||
cd /tmp
|
||||
wget $binurl
|
||||
sh archdi -i
|
||||
if [[ -f "/usr/bin/archfi" ]]; then
|
||||
rm /usr/bin/archfi
|
||||
fi
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue