diff options
author | Colin Guthrie <colin@mageia.org> | 2011-10-30 14:42:38 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2011-10-30 14:42:38 +0000 |
commit | 2ac7b326db9861f0d8547da06e15a320a7147691 (patch) | |
tree | 36791dc80a4c118ce65a578dbaccc67f0c1f2c24 /add-service | |
parent | 232fc6e1f66745d1c063924bb5f5a78732cac96f (diff) | |
download | rpm-helper-2ac7b326db9861f0d8547da06e15a320a7147691.tar rpm-helper-2ac7b326db9861f0d8547da06e15a320a7147691.tar.gz rpm-helper-2ac7b326db9861f0d8547da06e15a320a7147691.tar.bz2 rpm-helper-2ac7b326db9861f0d8547da06e15a320a7147691.tar.xz rpm-helper-2ac7b326db9861f0d8547da06e15a320a7147691.zip |
Extend the msec check to systemd socket units as well as services ones
Diffstat (limited to 'add-service')
-rwxr-xr-x | add-service | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/add-service b/add-service index 23b0094..96f515c 100755 --- a/add-service +++ b/add-service @@ -97,6 +97,7 @@ add_service() { else for i in $units; do [ $i != ${i%.service} ] && ! fgrep -qx ${i%.service} $LIST && continue + [ $i != ${i%.socket} ] && ! fgrep -qx ${i%.socket} $LIST && continue units_to_enable="$units_to_enable $i" done fi |