Update SlackBuild script to accomodate blacklist.

Signed-off-by: Willy Sudiarto Raharjo <willysr@gmail.com>
This commit is contained in:
Willy Sudiarto Raharjo 2018-01-17 09:49:30 +07:00
parent 40979606a8
commit c213e40b37
2 changed files with 2 additions and 0 deletions

View file

@ -11,3 +11,4 @@ config() {
# Otherwise, we leave the .new copy for the admin to consider... # Otherwise, we leave the .new copy for the admin to consider...
} }
config etc/sbopkg/sbopkg.conf.new config etc/sbopkg/sbopkg.conf.new
config etc/sbopkg/blacklist.new

View file

@ -38,6 +38,7 @@ find -L . \
mkdir -p $PKG/etc/sbopkg mkdir -p $PKG/etc/sbopkg
cp -a etc/sbopkg/* $PKG/etc/sbopkg cp -a etc/sbopkg/* $PKG/etc/sbopkg
mv $PKG/etc/sbopkg/sbopkg.conf $PKG/etc/sbopkg/sbopkg.conf.new mv $PKG/etc/sbopkg/sbopkg.conf $PKG/etc/sbopkg/sbopkg.conf.new
mv $PKG/etc/sbopkg/blacklist $PKG/etc/sbopkg/blacklist.new
mkdir -p $PKG/usr/sbin mkdir -p $PKG/usr/sbin
cp usr/sbin/* $PKG/usr/sbin cp usr/sbin/* $PKG/usr/sbin