diff options
Diffstat (limited to 'abs/core-testing/pacman/pacman.install')
-rw-r--r-- | abs/core-testing/pacman/pacman.install | 10 |
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() { |