aboutsummaryrefslogtreecommitdiff
path: root/sys/process/anacron/anacron.mkbuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys/process/anacron/anacron.mkbuild')
-rw-r--r--sys/process/anacron/anacron.mkbuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/sys/process/anacron/anacron.mkbuild b/sys/process/anacron/anacron.mkbuild
index 0e50dd9..2b77b4b 100644
--- a/sys/process/anacron/anacron.mkbuild
+++ b/sys/process/anacron/anacron.mkbuild
@@ -38,6 +38,12 @@
# SlackBuild PATH in Slack.Sarava tree
[[SLACKBUILD PATH]]="sys/process/anacron"
+# Install script
+[[REST OF DOINST.SH]]="config etc/anacrontab.new"
+
+# Config files
+[[CONFIG FILES]]="etc/privoxy/config etc/privoxy/trust"
+
#---------------------
# SlackBuild Sections
#---------------------
@@ -68,7 +74,7 @@ off: compress_info_files
on: install_documentation
on: slackdesc
off: move_config_files
-off: postinstall_script
+ on: postinstall_script
on: build_package
on: clean_builds
#<< End SlackBuild Sections
@@ -92,12 +98,12 @@ anacron:
#>install_package
# Install
-mkdir -p $PKG
-mkdir -p $PKG/usr/sbin $PKG/var/spool/anacron $PKG/usr/man/man5 $PKG/usr/man/man8
+mkdir -p $PKG/usr/sbin $PKG/var/spool/anacron $PKG/usr/man/man5 $PKG/usr/man/man8 $PKG/etc
cp anacron $PKG/usr/sbin
cp anacrontab.5 $PKG/usr/man/man5
cp anacron.8 $PKG/usr/man/man8
+cp $CWD/anacrontab.new $PKG/etc
gzip $PKG/usr/man/man5/anacrontab.5
gzip $PKG/usr/man/man8/anacron.8