mirror of
https://github.com/msfjarvis/server-config
synced 2025-08-16 15:57:00 +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
|
# Now loop through each service and install it
|
||||||
for service in "${services[@]}"; do
|
for service in "${services[@]}"; do
|
||||||
if [ "${1}" ] && [ "${service}" != "${1}" ]; then
|
if [ "${1}" ] && [[ "${service}" != "${1}" && "${service}.service" != "${1}" ]]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
prettyPrint "Installing ${service}"
|
prettyPrint "Installing ${service}"
|
||||||
|
@ -28,7 +28,7 @@ for service in "${services[@]}"; do
|
||||||
done
|
done
|
||||||
|
|
||||||
for timer in "${timers[@]}"; do
|
for timer in "${timers[@]}"; do
|
||||||
if [ "${1}" ] && [ "${timer}" != "${1}" ]; then
|
if [ "${1}" ] && [[ "${timer}" != "${1}" && "${timer}.timer" != "${1}" ]]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
prettyPrint "Installing ${timer}"
|
prettyPrint "Installing ${timer}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue