diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-02-15 18:05:20 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-02-15 18:05:20 (GMT) |
commit | 2084076a3e4acf8359d81d79b32ccc9128c3f60a (patch) | |
tree | ccb3de488e984c230de6616e1be80547edd681ac /abs/core/pacman/pacman.install | |
parent | 25a8f9cc50b5c6d8d97ecd4afadc22d90a16affa (diff) | |
download | linhes_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.install | 18 |
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 -} |