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