diff options
Diffstat (limited to 'system/slpkg/slpkg.SlackBuild')
-rw-r--r-- | system/slpkg/slpkg.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
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 |