Add user bundle removal to legacy block too

This commit is contained in:
TheSpad 2022-09-13 11:19:04 +01:00
parent 81ae7dfe9b
commit 12948902a1
No known key found for this signature in database
GPG key ID: 08F06191F4587860

View file

@ -72,6 +72,7 @@ process_custom_services() {
if [[ -n "$(/bin/ls -A /etc/s6-overlay/s6-rc.d/custom-svc-* 2>/dev/null)" ]]; then if [[ -n "$(/bin/ls -A /etc/s6-overlay/s6-rc.d/custom-svc-* 2>/dev/null)" ]]; then
echo "[custom-init] removing existing custom services..." echo "[custom-init] removing existing custom services..."
rm -rf /etc/s6-overlay/s6-rc.d/custom-svc-* rm -rf /etc/s6-overlay/s6-rc.d/custom-svc-*
rm /etc/s6-overlay/s6-rc.d/user/contents.d/custom-svc-*
fi fi
# Make sure custom service directory exists and has files in it # Make sure custom service directory exists and has files in it