summaryrefslogtreecommitdiffstats
path: root/cryptsetup
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2007-05-26 21:08:56 +0000
committer Eric Hameleers <alien@slackware.com>2007-05-26 21:08:56 +0000
commit6b509c6394c01a685cf54dddaf63d4f8af866b13 (patch)
tree33599da111199bbc494598cd035364fc832cbefc /cryptsetup
parent91cf4d97cc54afaa860dac655cfc3ebd9f43d125 (diff)
downloadasb-6b509c6394c01a685cf54dddaf63d4f8af866b13.tar.gz
asb-6b509c6394c01a685cf54dddaf63d4f8af866b13.tar.xz
Move the binary to /sbin
Diffstat (limited to 'cryptsetup')
-rwxr-xr-xcryptsetup/build/cryptsetup-static.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/cryptsetup/build/cryptsetup-static.SlackBuild b/cryptsetup/build/cryptsetup-static.SlackBuild
index 7a2c277b..9dd0dcfc 100755
--- a/cryptsetup/build/cryptsetup-static.SlackBuild
+++ b/cryptsetup/build/cryptsetup-static.SlackBuild
@@ -184,7 +184,9 @@ else
fi
# Move the binary so that it does not clash with the dynamic version:
-mv $PKG/usr/sbin/cryptsetup{,.static}
+mkdir -p $PKG/sbin
+mv $PKG/usr/sbin/cryptsetup $PKG/sbin/cryptsetup.static
+rmdir $PKG/usr/sbin 2>/dev/null
# Remove unneeded empty directory:
rmdir $PKG/usr/lib/cryptsetup 2>/dev/null