diff options
author | Joerg Schirottke <master@kanotix.com> | 2013-02-28 15:59:56 +0100 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2013-02-28 19:17:00 +0100 |
commit | 3e501ace1b22ad9b7408643257242afc486e56aa (patch) | |
tree | 328dbc8c0efb0853ef79eced5cbaf406feb05526 /config | |
parent | 46d83d6c4772ab47beb6cbdcca19a30025cd8687 (diff) | |
download | kanotix-3e501ace1b22ad9b7408643257242afc486e56aa.zip kanotix-3e501ace1b22ad9b7408643257242afc486e56aa.tar.gz |
fix gparted hook
Diffstat (limited to 'config')
-rwxr-xr-x | config/chroot_local-hooks/gparted | 4 |
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 |