Return 0 in runInChroot()
This commit is contained in:
parent
eb95ea2712
commit
c1ddae42d8
|
@ -271,7 +271,7 @@ ${1}
|
||||||
EOF
|
EOF
|
||||||
chmod 755 /mnt/cocoScript
|
chmod 755 /mnt/cocoScript
|
||||||
arch-chroot /mnt /cocoScript
|
arch-chroot /mnt /cocoScript
|
||||||
rm /mnt/cocoScript
|
return $?
|
||||||
}
|
}
|
||||||
|
|
||||||
installNotImportantPackages() {
|
installNotImportantPackages() {
|
||||||
|
@ -282,6 +282,7 @@ installNotImportantPackages() {
|
||||||
}
|
}
|
||||||
|
|
||||||
finishInstallation() {
|
finishInstallation() {
|
||||||
|
rm /mnt/cocoScript
|
||||||
umount -R /mnt
|
umount -R /mnt
|
||||||
whiptail --yesno "Finally, the PC needs to restart, would you like to do it?" 0 0
|
whiptail --yesno "Finally, the PC needs to restart, would you like to do it?" 0 0
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
|
|
Loading…
Reference in New Issue