aboutsummaryrefslogtreecommitdiffstats
path: root/add-service
diff options
context:
space:
mode:
authorDexter Morgan <dmorgan@mageia.org>2011-12-13 16:01:07 +0000
committerDexter Morgan <dmorgan@mageia.org>2011-12-13 16:01:07 +0000
commit89c608a72104557c3bd59a7998586fae91292d39 (patch)
treeeb9d60223b5a2f23f8d8245967378541794aae56 /add-service
parent4d2da9880d42358b84a94b2b480ade49a61aa96f (diff)
downloadrpm-helper-89c608a72104557c3bd59a7998586fae91292d39.tar
rpm-helper-89c608a72104557c3bd59a7998586fae91292d39.tar.gz
rpm-helper-89c608a72104557c3bd59a7998586fae91292d39.tar.bz2
rpm-helper-89c608a72104557c3bd59a7998586fae91292d39.tar.xz
rpm-helper-89c608a72104557c3bd59a7998586fae91292d39.zip
Add support for systemd .path filesv0.24.5
Diffstat (limited to 'add-service')
-rwxr-xr-xadd-service1
1 files changed, 1 insertions, 0 deletions
diff --git a/add-service b/add-service
index 26bc04e..5747aee 100755
--- a/add-service
+++ b/add-service
@@ -100,6 +100,7 @@ add_service() {
for i in $units; do
[ $i != ${i%.service} ] && ! fgrep -qx ${i%.service} $LIST && continue
[ $i != ${i%.socket} ] && ! fgrep -qx ${i%.socket} $LIST && continue
+ [ $i != ${i%.path} ] && ! fgrep -qx ${i%.path} $LIST && continue
units_to_enable="$units_to_enable $i"
done
fi