[arch-commits] Commit in util-linux/trunk (PKGBUILD util-linux.install)
Tom Gundersen
tomegun at archlinux.org
Fri Jul 13 02:30:22 UTC 2012
Date: Thursday, July 12, 2012 @ 22:30:22
Author: tomegun
Revision: 163481
upgpkg: util-linux 2.21.2-5
don't try to delete directory if it does not exist
Modified:
util-linux/trunk/PKGBUILD
util-linux/trunk/util-linux.install
--------------------+
PKGBUILD | 2 +-
util-linux.install | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-07-12 19:58:42 UTC (rev 163480)
+++ PKGBUILD 2012-07-13 02:30:22 UTC (rev 163481)
@@ -4,7 +4,7 @@
pkgname=util-linux
pkgver=2.21.2
-pkgrel=4
+pkgrel=5
pkgdesc="Miscellaneous system utilities for Linux"
url="http://www.kernel.org/pub/linux/utils/util-linux/"
arch=('i686' 'x86_64')
Modified: util-linux.install
===================================================================
--- util-linux.install 2012-07-12 19:58:42 UTC (rev 163480)
+++ util-linux.install 2012-07-13 02:30:22 UTC (rev 163481)
@@ -3,6 +3,8 @@
if [ -f /var/lib/hwclock/adjtime ]; then
mv /var/lib/hwclock/adjtime /etc/adjtime
fi
- rmdir /var/lib/hwclock
+ if [ -d /var/lib/hwclock ]; then
+ rmdir /var/lib/hwclock
+ fi
fi
}
More information about the arch-commits
mailing list