Joseph Nuthalapati 3d38b8a686
backports: Add buster-backports to apt sources list
Fixes freedombox-team/freedom-maker#149

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-02-05 14:58:27 -08:00

22 lines
325 B
Bash
Executable File

#!/bin/sh
set -e
case "$1" in
purge)
deluser --system --quiet plinth || true
rm -rf /var/lib/plinth
# Remove legacy directory too
rm -rf /var/log/plinth
if [ -e '/etc/apt/sources.list.d/freedombox-backports.list' ]; then
rm /etc/apt/sources.list.d/freedombox-backports.list
fi
;;
esac
#DEBHELPER#
exit 0