summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install-system1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/install-system b/scripts/install-system
index 61265e54..3b00ecbf 100755
--- a/scripts/install-system
+++ b/scripts/install-system
@@ -557,7 +557,6 @@ install_grub () {
# TODO: This needs to be changed to map to the correct drive
part=$(echo $ROOT_PARTITION | sed 's/[^0-9]//g')
- part=$(($part - 1))
if [ "$(cat /sys/block/$orig_install_drive/removable)" == 0 ]; then
root=$(grep $orig_install_drive $rootfsdir/boot/grub/device.map | /usr/bin/awk -F')' '{ print $1 }')
root="$root,$part)"