remove old instal in usr/bin

This commit is contained in:
MatMoul 2022-10-16 00:22:39 +02:00
parent a1722b9f3a
commit f1b7b33347

6
archdi
View file

@ -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