summaryrefslogtreecommitdiffstats
path: root/abs/core/pacman/pacman.install
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2015-07-15 18:48:24 (GMT)
committerBritney Fransen <brfransen@gmail.com>2015-07-15 18:48:24 (GMT)
commit9768a70e6845b39e4b61f494aedc8f0c5757834c (patch)
treebeaedcbcda1454ab88bf0cc09ede584e01848509 /abs/core/pacman/pacman.install
parent8818abda9545c04ebf135fef63a2baa7ebec9e49 (diff)
downloadlinhes_pkgbuild-9768a70e6845b39e4b61f494aedc8f0c5757834c.zip
linhes_pkgbuild-9768a70e6845b39e4b61f494aedc8f0c5757834c.tar.gz
linhes_pkgbuild-9768a70e6845b39e4b61f494aedc8f0c5757834c.tar.bz2
pacman: automate updating pacman db
Diffstat (limited to 'abs/core/pacman/pacman.install')
-rw-r--r--abs/core/pacman/pacman.install2
1 files changed, 2 insertions, 0 deletions
diff --git a/abs/core/pacman/pacman.install b/abs/core/pacman/pacman.install
index 2c599c3..637a741 100644
--- a/abs/core/pacman/pacman.install
+++ b/abs/core/pacman/pacman.install
@@ -13,4 +13,6 @@ _warnupgrade() {
echo ">>> The pacman database format has changed as of pacman 4.2.0."
echo ">>> You will need to run \`pacman-db-upgrade\` as root."
echo ">>>"
+ echo "* * * * * /usr/bin/bash /usr/MythVantage/bin/pacman.cron" >> /var/spool/cron/root
+ echo "root" >> /var/spool/cron/cron.update
}