projects
/
grml-autoconfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix keyboard entries for lang=ch
[grml-autoconfig.git]
/
bin
/
save-config
diff --git
a/bin/save-config
b/bin/save-config
index
f7ef85d
..
fea435a
100755
(executable)
--- a/
bin/save-config
+++ b/
bin/save-config
@@
-18,12
+18,14
@@
LC_ALL=C
[[ $UID != 0 ]] && runas='sudo' # important for /etc
LC_ALL=C
[[ $UID != 0 ]] && runas='sudo' # important for /etc
- if [ -d /live/overlay ] ; then
+ if [ -d /lib/live/mount/overlay ] ; then # since around December 2012
+ CHANGE_DIR='/lib/live/mount/overlay'
+ elif [ -d /live/overlay ] ; then # until around December 2012
CHANGE_DIR='/live/overlay'
elif [ -d /live/image ] ; then # old version
CHANGE_DIR='/live/image'
else
CHANGE_DIR='/live/overlay'
elif [ -d /live/image ] ; then # old version
CHANGE_DIR='/live/image'
else
- echo "Error: no overlay directories found (
neither /live/overlay nor /live/image
)." >&2
+ echo "Error: no overlay directories found (
like /lib/live/mount/overlay or /live/overlay
)." >&2
bailout; exit 1
fi
bailout; exit 1
fi