summaryrefslogtreecommitdiffstats
path: root/abs/core/pacman/pacman.install
diff options
context:
space:
mode:
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
-}