From 3316d3b4eaac80d464e703a4be3cc237c9347955 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Thu, 20 Nov 2014 14:25:50 +0200 Subject: system/slpkg: Updated for version 2.0.6. Signed-off-by: Dimitris Zlatanidis --- system/slpkg/slpkg.SlackBuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'system/slpkg/slpkg.SlackBuild') diff --git a/system/slpkg/slpkg.SlackBuild b/system/slpkg/slpkg.SlackBuild index 1f0ac9ad5d..bc5824bac8 100644 --- a/system/slpkg/slpkg.SlackBuild +++ b/system/slpkg/slpkg.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=slpkg -VERSION=${VERSION:-2.0.4} +VERSION=${VERSION:-2.0.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -77,12 +77,16 @@ python setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +mkdir -p $PKG/etc/slpkg + # check if blacklist file if already exist in /etc/slpkg if [ ! -f "/etc/$PRGNAM/blacklist" ]; then - mkdir -p $PKG/etc/$PRGNAM install -D -m0644 conf/blacklist $PKG/etc/$PRGNAM/blacklist fi +# install configuration file +install -D -m0644 conf/slpkg.conf $PKG/etc/slpkg/slpkg.conf.new + # install man page mkdir -p $PKG/usr/man/man8 gzip -9 man/$PRGNAM.8 -- cgit v1.2.3