diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/libs/lib-ui-interactive.sh | 2 | ||||
-rw-r--r-- | src/core/procedures/base | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/core/libs/lib-ui-interactive.sh b/src/core/libs/lib-ui-interactive.sh index 11cde02..881af90 100644 --- a/src/core/libs/lib-ui-interactive.sh +++ b/src/core/libs/lib-ui-interactive.sh @@ -2,7 +2,7 @@ # A library which allows you to do backend stuff by using user interfaces # Global Variables -grubmenu="$var_TARGET_DIR/boot/grub/menu.lst" +grubmenu="/boot/grub/menu.lst" # be sure to override this if you have it somewhere else # check if a worker has completed successfully. if not -> tell user he must do it + return 1 # if ok -> don't warn anything and return 0 diff --git a/src/core/procedures/base b/src/core/procedures/base index ab95cea..3ff66b4 100644 --- a/src/core/procedures/base +++ b/src/core/procedures/base @@ -10,6 +10,7 @@ var_MIRRORLIST="/etc/pacman.d/mirrorlist" var_UI_TYPE="cli" # set to cli or dia for dialog var_ARCH=`uname -m` #i686 or x86_64. NOTE: this assumes you want to install the same arch as the installation environment you're using. maybe we could decouple those someday.. [ -z "$var_ARCH" ] && die_error "Could not determine your architecture" +grubmenu="$var_TARGET_DIR$grubmenu" ###### Phases ( can be overridden by more specific procedures) ###### phase_preparation=(\ |