summaryrefslogtreecommitdiffstats
path: root/abs/core/pacman/pacman.install
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-02-15 18:05:20 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-02-15 18:05:20 (GMT)
commit2084076a3e4acf8359d81d79b32ccc9128c3f60a (patch)
treeccb3de488e984c230de6616e1be80547edd681ac /abs/core/pacman/pacman.install
parent25a8f9cc50b5c6d8d97ecd4afadc22d90a16affa (diff)
downloadlinhes_pkgbuild-2084076a3e4acf8359d81d79b32ccc9128c3f60a.zip
linhes_pkgbuild-2084076a3e4acf8359d81d79b32ccc9128c3f60a.tar.gz
linhes_pkgbuild-2084076a3e4acf8359d81d79b32ccc9128c3f60a.tar.bz2
pacman: update to 5.0.2
Diffstat (limited to 'abs/core/pacman/pacman.install')
-rw-r--r--abs/core/pacman/pacman.install18
1 files changed, 0 insertions, 18 deletions
diff --git a/abs/core/pacman/pacman.install b/abs/core/pacman/pacman.install
deleted file mode 100644
index 637a741..0000000
--- a/abs/core/pacman/pacman.install
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- if [ "$(vercmp $2 4.2.0)" -lt 0 ]; then
- _warnupgrade
- fi
- sed -i '/^# If upgrades are available/d' /etc/pacman.conf
- sed -i '/^SyncFirst/d' /etc/pacman.conf
-}
-
-_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
-}