OSDN Git Service
(root)
/
instantos
/
instantARCH.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bac4aa
)
zenity check
author
paperbenni
<paperbenni@gmail.com>
Mon, 22 Jun 2020 21:13:38 +0000
(23:13 +0200)
committer
paperbenni
<paperbenni@gmail.com>
Mon, 22 Jun 2020 21:13:38 +0000
(23:13 +0200)
archinstall.sh
patch
|
blob
|
history
diff --git
a/archinstall.sh
b/archinstall.sh
index
304e500
..
aea61e5
100755
(executable)
--- a/
archinstall.sh
+++ b/
archinstall.sh
@@
-80,7
+80,9
@@
sleep 2
# ask to reboot, upload error data if install failed
if ! [ -e /opt/installfailed ] || ! [ -e /opt/installsuccess ]; then
- zenity --question --text="installation finished. reboot?" && touch /tmp/instantosreboot
+ if command -v zenity; then
+ zenity --question --text="installation finished. reboot?" && touch /tmp/instantosreboot
+ fi
else
echo "installaion failed"
echo "uploading error data"