summaryrefslogtreecommitdiffstats
path: root/slackpkg.SlackBuild
diff options
context:
space:
mode:
authorpiterpunk <piterpunk@slackware.com>2021-06-04 17:11:13 -0300
committerRobby Workman <rworkman@slackware.com>2021-06-04 22:24:28 -0500
commitab871495224069440a9645899b500f279195250f (patch)
tree3d1f97d2be4de633b2b402e50ddab9891cdf276c /slackpkg.SlackBuild
parent3c4c175de873a3ac5599da454bb693d2d5719811 (diff)
downloadslackpkg-ab871495224069440a9645899b500f279195250f.tar.xz
Added the new-config actions for specific files
- Added code to parse a list with the .new files and the default action to do. - Added post-functions.conf file to hold the aforementioned list and possible future configurations. - Updated the SlackBuild to install the post-functions.conf file
Diffstat (limited to 'slackpkg.SlackBuild')
-rwxr-xr-xslackpkg.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/slackpkg.SlackBuild b/slackpkg.SlackBuild
index eae23f8..f4f7553 100755
--- a/slackpkg.SlackBuild
+++ b/slackpkg.SlackBuild
@@ -55,7 +55,8 @@ chown root:root $PKG/usr/sbin/slackpkg
# Prepare /etc directory:
mkdir -pv $PKG/etc/slackpkg
-cp -av blacklist.new slackpkg.conf.new $PKG/etc/slackpkg
+cp -av blacklist.new slackpkg.conf.new post-functions.conf-sample \
+ $PKG/etc/slackpkg
chmod 644 $PKG/etc/slackpkg/*
chown root:root $PKG/etc/slackpkg/*
mkdir -pv $PKG/etc/slackpkg/templates