11 lines
173 B
Bash
11 lines
173 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
if [ -d /run/systemd/system ]; then
|
|
systemctl daemon-reload >/dev/null 2>&1 || true
|
|
fi
|
|
if [ "$1" = "purge" ]; then
|
|
rm -rf /var/cache/luphoto
|
|
fi
|
|
exit 0
|