Files
LuPhoto/packaging/scripts/preremove.sh
T
2026-11-04 04:58:48 -08:00

9 lines
204 B
Bash

#!/bin/sh
set -e
if [ -d /run/systemd/system ] && [ "$1" = "remove" ]; then
systemctl stop luphoto.service >/dev/null 2>&1 || true
systemctl disable luphoto.service >/dev/null 2>&1 || true
fi
exit 0