ldconfig: dont run it if ldconfig is not installed

This commit is contained in:
Umut Tezduyar Lindskog
2014-07-30 09:02:14 +02:00
committed by Zbigniew Jędrzejewski-Szmek
parent 7bed7f0e3b
commit e72f054eb5

View File

@@ -13,6 +13,7 @@ Conflicts=shutdown.target
After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-remount-fs.service
Before=sysinit.target shutdown.target systemd-update-done.service
ConditionNeedsUpdate=/etc
ConditionFileIsExecutable=/sbin/ldconfig
[Service]
Type=oneshot