summaryrefslogtreecommitdiff
path: root/backend/modules/init
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2014-10-28 22:41:44 +0100
committerAndreas Loibl <andreas@andreas-loibl.de>2014-10-28 22:41:44 +0100
commitc935719a96ea29112fb305097f66d3f485a0ca23 (patch)
tree3cdff1eafe25448cd081f06de29629b4d7570835 /backend/modules/init
parent272fc3dcf99351581a733912153eb923b638728a (diff)
downloadacritoxinstaller-c935719a96ea29112fb305097f66d3f485a0ca23.zip
acritoxinstaller-c935719a96ea29112fb305097f66d3f485a0ca23.tar.gz
fix for new mount version
Diffstat (limited to 'backend/modules/init')
-rw-r--r--backend/modules/init1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/modules/init b/backend/modules/init
index 15e05b4..501cf30 100644
--- a/backend/modules/init
+++ b/backend/modules/init
@@ -7,6 +7,7 @@ function init_installer()
mkdir -p /live/filesystem
LOOPDEV="$(losetup --all | awk -F: '/\/live\/image\//&&/filesystem/{print $1}')"
[ -z "$LOOPDEV" ] && LOOPDEV=$(losetup --all | awk -F: '/\/live\/medium\//&&/filesystem/{print $1}')
+ [ -z "$LOOPDEV" ] && LOOPDEV=$(losetup --all | awk -F: '/\/live\/mount\/medium\//&&/filesystem/{print $1}')
if [ -e /live/gfxoverlay.active ]; then
mkdir -p /live/filesystem.main
gfx="$(cat /live/gfxoverlay.active)"