summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJoerg Schirottke <master@kanotix.com>2013-02-28 15:59:56 +0100
committerAndreas Loibl <andreas@andreas-loibl.de>2013-02-28 19:17:00 +0100
commit3e501ace1b22ad9b7408643257242afc486e56aa (patch)
tree328dbc8c0efb0853ef79eced5cbaf406feb05526 /config
parent46d83d6c4772ab47beb6cbdcca19a30025cd8687 (diff)
downloadkanotix-3e501ace1b22ad9b7408643257242afc486e56aa.zip
kanotix-3e501ace1b22ad9b7408643257242afc486e56aa.tar.gz
fix gparted hook
Diffstat (limited to 'config')
-rwxr-xr-xconfig/chroot_local-hooks/gparted4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/chroot_local-hooks/gparted b/config/chroot_local-hooks/gparted
index c73d73c..37492c8 100755
--- a/config/chroot_local-hooks/gparted
+++ b/config/chroot_local-hooks/gparted
@@ -1,3 +1,5 @@
#!/bin/sh
# gparted hotfix for fat filesystems on raid devices
-sed -ri 's|(mkdosfs )-F(..) -v|\1-vIF\2 |g' /usr/sbin/gpartedbin
+if [ -x /usr/sbin/gpartedbin ]; then
+ sed -ri 's|(mkdosfs )-F(..) -v|\1-vIF\2 |g' /usr/sbin/gpartedbin
+fi