summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/pacman/pacman.install
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2010-09-05 05:51:32 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2010-09-05 05:51:32 (GMT)
commit3f61d8348ecb847dcfc03cb2dd73c79bcd11712d (patch)
treec7a2b37648873e8ad4cf750a18d1e3404422468a /abs/core-testing/pacman/pacman.install
parent1e3c58d18dbbc867ce3fd44f1f32119fe04d5543 (diff)
downloadlinhes_pkgbuild-3f61d8348ecb847dcfc03cb2dd73c79bcd11712d.zip
linhes_pkgbuild-3f61d8348ecb847dcfc03cb2dd73c79bcd11712d.tar.gz
linhes_pkgbuild-3f61d8348ecb847dcfc03cb2dd73c79bcd11712d.tar.bz2
pacman:Bumped/Updated for LinHES 7.
Diffstat (limited to 'abs/core-testing/pacman/pacman.install')
-rw-r--r--abs/core-testing/pacman/pacman.install10
1 files changed, 3 insertions, 7 deletions
diff --git a/abs/core-testing/pacman/pacman.install b/abs/core-testing/pacman/pacman.install
index ed10f0d..294222e 100644
--- a/abs/core-testing/pacman/pacman.install
+++ b/abs/core-testing/pacman/pacman.install
@@ -3,13 +3,9 @@
# arg 2: the old package version
post_upgrade() {
# one time stuff for md5sum issue with older pacman versions
- if [ -f /usr/bin/vercmp ]
- then
- if [ "$(vercmp $2 3.0.2)" -lt 0 ]
- then
- _resetbackups
- fi
- fi
+ if [ "$(vercmp $2 3.0.2)" -lt 0 ]; then
+ _resetbackups
+ fi
}
_resetbackups() {