ldconfig: dont run it if ldconfig is not installed
This commit is contained in:
parent
7bed7f0e3b
commit
e72f054eb5
|
@ -13,6 +13,7 @@ Conflicts=shutdown.target
|
||||||
After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-remount-fs.service
|
After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-remount-fs.service
|
||||||
Before=sysinit.target shutdown.target systemd-update-done.service
|
Before=sysinit.target shutdown.target systemd-update-done.service
|
||||||
ConditionNeedsUpdate=/etc
|
ConditionNeedsUpdate=/etc
|
||||||
|
ConditionFileIsExecutable=/sbin/ldconfig
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
|
Loading…
Reference in a new issue