OSDN Git Service

upgrade instantmenu
authorpaperbenni <paperbenni@gmail.com>
Fri, 17 Jul 2020 13:07:28 +0000 (15:07 +0200)
committerpaperbenni <paperbenni@gmail.com>
Fri, 17 Jul 2020 13:07:28 +0000 (15:07 +0200)
archinstall.sh
depend/depend.sh

index d1fd390..3d50f25 100755 (executable)
@@ -14,7 +14,7 @@ if ! whoami | grep -iq '^root'; then
 fi
 
 if [ -e /usr/share/liveutils ]; then
-    echo "preparing installation
+    pgrep instantmenu || echo "preparing installation
 OK" | instantmenu -c -bw 4 -l 2 &
 else
     # print logo
@@ -91,6 +91,8 @@ chmod +x */*.sh
 ./depend/depend.sh
 ./artix/preinstall.sh
 
+[ -e /usr/share/liveutils ] && pkill instantmenu
+
 cd /root/instantARCH
 
 ./ask.sh || {
index 0b96785..0ab33f3 100755 (executable)
@@ -74,6 +74,11 @@ while ! pacman -S --noconfirm --needed \
 
 done
 
+# upgrade instantmenu
+if command -v instantmenu; then
+    pacman -S instantmenu --noconfirm
+fi
+
 if [ -e /usr/share/liveutils ]; then
     pkill instantmenu
 fi