From ab871495224069440a9645899b500f279195250f Mon Sep 17 00:00:00 2001 From: piterpunk Date: Fri, 4 Jun 2021 17:11:13 -0300 Subject: 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 --- slackpkg.SlackBuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'slackpkg.SlackBuild') 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 -- cgit v1.2.3