diff options
author | Colin Guthrie <colin@mageia.org> | 2012-09-30 14:46:47 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2012-09-30 14:46:47 +0000 |
commit | 6ec7f4c183479793a74663ab6d8cb24bb8367271 (patch) | |
tree | e8f52c55bdfee70ee3ed0ee58f54ca8bf904801c | |
parent | 16af0931257c829a42d1f97495fa4ee4e26dbfdd (diff) | |
download | rpm-helper-6ec7f4c183479793a74663ab6d8cb24bb8367271.tar rpm-helper-6ec7f4c183479793a74663ab6d8cb24bb8367271.tar.gz rpm-helper-6ec7f4c183479793a74663ab6d8cb24bb8367271.tar.bz2 rpm-helper-6ec7f4c183479793a74663ab6d8cb24bb8367271.tar.xz rpm-helper-6ec7f4c183479793a74663ab6d8cb24bb8367271.zip |
Fix typo
-rwxr-xr-x | add-service | 2 | ||||
-rwxr-xr-x | del-service | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/add-service b/add-service index 6a52e2f..684d3db 100755 --- a/add-service +++ b/add-service @@ -62,7 +62,7 @@ find_unit() { searchunit="$USERUNITDIR/$unit" elif [ -L "$RUNTIMEUNITDIR/$unit" ]; then searchunit=$(/usr/bin/readlink -m "$RUNTIMEUNITDIR/$unit") - else [ -e "$RUNTIMEUNITDIR/$unit" ]; then + elif [ -e "$RUNTIMEUNITDIR/$unit" ]; then searchunit="$RUNTIMEUNITDIR/$unit" elif [ -L "$SYSTEMUNITDIR/$unit" ]; then searchunit=$(/usr/bin/readlink -m "$SYSTEMUNITDIR/$unit") diff --git a/del-service b/del-service index e40a1cb..da61231 100755 --- a/del-service +++ b/del-service @@ -59,7 +59,7 @@ find_unit() { searchunit="$USERUNITDIR/$unit" elif [ -L "$RUNTIMEUNITDIR/$unit" ]; then searchunit=$(/usr/bin/readlink -m "$RUNTIMEUNITDIR/$unit") - else [ -e "$RUNTIMEUNITDIR/$unit" ]; then + elif [ -e "$RUNTIMEUNITDIR/$unit" ]; then searchunit="$RUNTIMEUNITDIR/$unit" elif [ -L "$SYSTEMUNITDIR/$unit" ]; then searchunit=$(/usr/bin/readlink -m "$SYSTEMUNITDIR/$unit") |