projects
/
grml-live.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
7b4da4e
)
Merge remote-tracking branch 'origin/github/pr/103'
author
Michael Prokop
<mika@grml.org>
Wed, 24 Mar 2021 12:53:44 +0000
(13:53 +0100)
committer
Michael Prokop
<mika@grml.org>
Wed, 24 Mar 2021 12:53:44 +0000
(13:53 +0100)
grml-live
patch
|
blob
|
history
diff --git
a/grml-live
b/grml-live
index
8b0adfe
..
6107e28
100755
(executable)
--- a/
grml-live
+++ b/
grml-live
@@
-180,7
+180,10
@@
umount_all() {
fi
umount "${CHROOT_OUTPUT}/grml-live/sources/" 2>/dev/null || /bin/true
- [ -n "$MIRROR_DIRECTORY" ] && umount "${CHROOT_OUTPUT}/${MIRROR_DIRECTORY}"
+ if [ -n "${MIRROR_DIRECTORY}" ]; then
+ umount "${CHROOT_OUTPUT}/${MIRROR_DIRECTORY}"
+ rmdir -p "${CHROOT_OUTPUT}/${MIRROR_DIRECTORY}"
+ fi
}
# }}}