[arch-commits] Commit in systemd/trunk (systemd.install)
Dave Reisner
dreisner at nymeria.archlinux.org
Sun Feb 23 00:02:57 UTC 2014
Date: Sunday, February 23, 2014 @ 01:02:57
Author: dreisner
Revision: 206256
avoid call to vercmp in post_install
Modified:
systemd/trunk/systemd.install
-----------------+
systemd.install | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Modified: systemd.install
===================================================================
--- systemd.install 2014-02-22 23:32:53 UTC (rev 206255)
+++ systemd.install 2014-02-23 00:02:57 UTC (rev 206256)
@@ -26,7 +26,7 @@
journalctl --update-catalog
# don't reexec on 209-1 upgrade
- if [ "$(vercmp 209-1 "$2")" -eq 1 ]; then
+ if [ -n "$2" ] && [ "$(vercmp 209-1 "$2")" -eq 1 ]; then
return
fi
More information about the arch-commits
mailing list