20 lines
322 B
Plaintext
20 lines
322 B
Plaintext
post_install() {
|
|
# working on folders
|
|
if [ ! -d '/var/lib/tor/onioncat' ]; then
|
|
mkdir -p /var/lib/tor/onioncat
|
|
fi
|
|
|
|
# show message
|
|
echo "See https://github.com/rahra/onioncat"
|
|
echo "for configuration guide."
|
|
}
|
|
|
|
post_upgrade() {
|
|
post_install
|
|
}
|
|
|
|
post_remove() {
|
|
# working on folders
|
|
rm -rf /var/lib/tor/onioncat
|
|
}
|