Skip to content
This repository was archived by the owner on Apr 23, 2024. It is now read-only.

Commit 857eab8

Browse files
committed
Make PMM_RUN case-insensitive
1 parent da1442e commit 857eab8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

root/init-hook

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/with-contenv bash
22

3-
if [[ $PMM_RUN = "True" ]]; then
3+
if [[ $(tr "[:upper:]" "[:lower:]" <<<"${PMM_RUN}") = "true" ]]; then
44
rm -rf /etc/s6-overlay/s6-rc.d/svc-pmm
55
rm -rf /etc/s6-overlay/s6-rc.d/user/contents.d/svc-pmm
66
rm -rf /etc/s6-overlay/s6-rc.d/init-config-end/dependencies.d/init-pmm-config

0 commit comments

Comments
 (0)