mirror of
https://gitlab.manjaro.org/applications/manjaro-architect
synced 2024-11-08 01:10:26 +00:00
check if target mounted before copying log ;)
This commit is contained in:
parent
429f878a88
commit
4b8f6f53e3
@ -47,10 +47,12 @@ main_menu_online() {
|
|||||||
*) dialog --backtitle "$VERSION - $SYSTEM ($ARCHI)" --yesno "$_CloseInstBody" 0 0
|
*) dialog --backtitle "$VERSION - $SYSTEM ($ARCHI)" --yesno "$_CloseInstBody" 0 0
|
||||||
if [[ $? -eq 0 ]]; then
|
if [[ $? -eq 0 ]]; then
|
||||||
check_for_error "exit installer."
|
check_for_error "exit installer."
|
||||||
dialog --backtitle "$VERSION - $SYSTEM ($ARCHI)" --yesno "\n$_LogInfo\n" 0 0
|
if [[ -e /mnt/usr ]]; then
|
||||||
if [[ $? -eq 0 ]]; then
|
dialog --backtitle "$VERSION - $SYSTEM ($ARCHI)" --yesno "\n$_LogInfo\n" 0 0
|
||||||
[[ -e /mnt/.m-a.log ]] && cat ${LOGFILE} >> /mnt/.m-a.log
|
if [[ $? -eq 0 ]]; then
|
||||||
install -m700 ${LOGFILE} /mnt/.m-a.log
|
[[ -e /mnt/.m-a.log ]] && cat ${LOGFILE} >> /mnt/.m-a.log
|
||||||
|
install -m700 ${LOGFILE} /mnt/.m-a.log
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
umount_partitions
|
umount_partitions
|
||||||
clear
|
clear
|
||||||
|
Loading…
Reference in New Issue
Block a user