From 86e4486ed0d7c09aa0b587bd72b1697daba93a54 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Tue, 31 Jul 2007 18:42:31 +0000 Subject: Update --- cryptmount/build/cryptmount.SlackBuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cryptmount/build/cryptmount.SlackBuild b/cryptmount/build/cryptmount.SlackBuild index 6fdd144d..045e684b 100755 --- a/cryptmount/build/cryptmount.SlackBuild +++ b/cryptmount/build/cryptmount.SlackBuild @@ -34,6 +34,9 @@ # * Initial build. # 2.0-1: 29/apr/2007 by Eric Hameleers # * Update to the final 2.0 +# 2.0-2: 31/jul/2007 by Eric Hameleers +# * Make sure that an esisting modofied rc.cryptmount script +# is not overwritten. # # Run 'sh cryptmount.SlackBuild --cleanup' to build a Slackware package. # The package (.tgz) plus descriptive .txt file are created in /tmp . @@ -47,7 +50,7 @@ PRGNAM=cryptmount VERSION=${VERSION:-"2.0"} ARCH=${ARCH:-"i486"} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} DOCS="AUTHORS ChangeLog COPYING NEWS README RELNOTES ToDo" @@ -216,6 +219,7 @@ ln -sf rc.cryptmount $PKG/etc/rc.d/rc.cryptmount-early # Prepare the config files: mv $PKG/etc/cryptmount/cmtab{,.new} mv $PKG/etc/default/cryptmount{,.new} +mv $PKG/etc/rc.d/rc.cryptmount{,.new} # Add this to the doinst.sh ! [ -d $PKG/install ] && mkdir -p $PKG/install @@ -237,6 +241,7 @@ config() { } config etc/cryptmount/cmtab.new config etc/default/cryptmount.new +config etc/rc.d/rc.cryptmount.new # Update rc.local so that cryptmount will be started on boot if ! grep "rc.cryptmount" etc/rc.d/rc.local 1>/dev/null 2>&1 ; then -- cgit v1.2.3-65-gdbad