diff options
author | Michael Hanson <hansonorders@verizon.net> | 2011-08-02 22:41:41 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2011-08-02 22:41:41 (GMT) |
commit | 84fa467f2da787088a7deb1f51eaf7815b3bb35f (patch) | |
tree | 0b95b504597a18b6bb0f98b16b1b4b76efb6378b /abs/core/pacman/pacman.install | |
parent | 01c20a7d13169e2d77e63296de33000a7afc190d (diff) | |
download | linhes_pkgbuild-84fa467f2da787088a7deb1f51eaf7815b3bb35f.zip linhes_pkgbuild-84fa467f2da787088a7deb1f51eaf7815b3bb35f.tar.gz linhes_pkgbuild-84fa467f2da787088a7deb1f51eaf7815b3bb35f.tar.bz2 |
pacman: Updated pacman.conf and make pacman-db-upgrade run on old db.
Diffstat (limited to 'abs/core/pacman/pacman.install')
-rw-r--r-- | abs/core/pacman/pacman.install | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/abs/core/pacman/pacman.install b/abs/core/pacman/pacman.install index b735399..4921fd8 100644 --- a/abs/core/pacman/pacman.install +++ b/abs/core/pacman/pacman.install @@ -9,12 +9,21 @@ post_upgrade() { if [ "$(vercmp $2 3.5.0)" -lt 0 ]; then _warnupgrade fi + echo ">>>" + echo ">>> ATTENTION! ATTENTION! ATTENTION!" + echo ">>> /etc/pacman.conf has changed. If you have customized your" + echo ">>> pacman.conf file, please merge your changes into" + echo ">>> /etc/pacman.conf.pacnew. Backup your old pacman.conf and" + echo ">>> then move pacman.conf.pacnew to pacman.conf" + echo ">>>" } _warnupgrade() { + echo ">>>" echo ">>> The pacman database format has changed as of pacman 3.5.0." - echo ">>> You will need to run \`pacman-db-upgrade\` as root." + echo ">>> I will now run \`pacman-db-upgrade\`. Please wait..." echo ">>>" + /usr/bin/pacman-db-upgrade } _resetbackups() { @@ -59,4 +68,4 @@ _resetbackups() { echo ">>> -> $file is unowned." fi done -} +} |