mirror of
https://github.com/msfjarvis/server-config
synced 2025-08-14 10:37:02 +05:30
update: Allow passing full filenames
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
parent
63a6d86783
commit
0ea4788a1e
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ declare -a timers=('release-watcher-recent')
|
|||
|
||||
# Now loop through each service and install it
|
||||
for service in "${services[@]}"; do
|
||||
if [ "${1}" ] && [ "${service}" != "${1}" ]; then
|
||||
if [ "${1}" ] && [[ "${service}" != "${1}" && "${service}.service" != "${1}" ]]; then
|
||||
continue
|
||||
fi
|
||||
prettyPrint "Installing ${service}"
|
||||
|
@ -28,7 +28,7 @@ for service in "${services[@]}"; do
|
|||
done
|
||||
|
||||
for timer in "${timers[@]}"; do
|
||||
if [ "${1}" ] && [ "${timer}" != "${1}" ]; then
|
||||
if [ "${1}" ] && [[ "${timer}" != "${1}" && "${timer}.timer" != "${1}" ]]; then
|
||||
continue
|
||||
fi
|
||||
prettyPrint "Installing ${timer}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue