This checkout is PawletOS's fork (git.oxmc.me/PawletOS/profiled), so its own identity should read PawletOS, not VesperOS: binary/package name, AIDL package+interface (me.oxmc.vesperos.profile -> os.pawlet.profiled), D-Bus service/object/error names, C++ namespace (vesperos::profile -> pawletos::profile), sepolicy types, data paths (/data/system/vesperos -> /data/system/pawletos, /etc/vesperprofiled -> /etc/pawletprofiled), the vendored OpenSSL static-lib module names, and the ZTE protocol string. Also drops generated build output (obj-x86_64-linux-gnu/, debian/.debhelper, debian staging dir, debhelper log/substvars files) that had been committed by mistake, and adds a .gitignore so they don't come back. The stock/upstream vesperprofiled at git.oxmc.me/VesperOS/vesperprofiled is untouched -- this commit only goes to the pawletos remote.
19 lines
473 B
Bash
Executable File
19 lines
473 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
case "$1" in
|
|
remove|upgrade|deconfigure)
|
|
if command -v systemctl >/dev/null 2>&1; then
|
|
systemctl stop pawletprofiled.service 2>/dev/null || true
|
|
systemctl disable pawletprofiled.service 2>/dev/null || true
|
|
fi
|
|
if command -v apparmor_parser >/dev/null 2>&1 && \
|
|
[ -f /etc/apparmor.d/pawletprofiled ]; then
|
|
apparmor_parser -R /etc/apparmor.d/pawletprofiled 2>/dev/null || true
|
|
fi
|
|
;;
|
|
esac
|
|
|
|
#DEBHELPER#
|
|
exit 0
|