summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rw-r--r--install/archlogo3
1 files changed, 2 insertions, 1 deletions
diff --git a/install/archlogo b/install/archlogo
index a84e32a..40768b6 100644
--- a/install/archlogo
+++ b/install/archlogo
@@ -4,7 +4,8 @@ build() {
source /etc/archlogo.conf
add_file /etc/archlogo.conf
add_file "/usr/share/archlogo/${ARCHLOGO}"
- if add_systemd_unit archlogo.service 2>/dev/null; then
+ if command -v add_systemd_unit >/dev/null; then
+ add_systemd_unit "archlogo.service"
add_symlink "/usr/lib/systemd/system/sysinit.target.wants/archlogo.service" "../archlogo.service"
else
add_runscript