-completely nuke all versions of Airtime from the system
This commit is contained in:
parent
48b08893f0
commit
cf5b03ca28
1 changed files with 21 additions and 0 deletions
21
dev_tools/airtime-purge.sh
Executable file
21
dev_tools/airtime-purge.sh
Executable file
|
@ -0,0 +1,21 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo "Are you sure? Press Enter to continue..."
|
||||||
|
read
|
||||||
|
|
||||||
|
rm -rf "/etc/airtime"
|
||||||
|
rm -rf "/var/log/airtime"
|
||||||
|
rm -rf "/etc/service/pypo"
|
||||||
|
rm -rf "/etc/service/pypo-liquidsoap"
|
||||||
|
rm -rf "/etc/service/recorder"
|
||||||
|
rm -rf "/usr/share/airtime"
|
||||||
|
rm -rf "/var/tmp/airtime"
|
||||||
|
rm -rf "/var/www/airtime"
|
||||||
|
rm -rf "/usr/bin/airtime-*"
|
||||||
|
rm -rf "/usr/lib/airtime"
|
||||||
|
rm -rf "/var/tmp/airtime"
|
||||||
|
rm -rf "/opt/pypo"
|
||||||
|
rm -rf "/opt/recorder"
|
||||||
|
rm -rf "/srv/airtime"
|
||||||
|
|
||||||
|
echo "DROP DATABASE AIRTIME;" | su postgres -c psql
|
Loading…
Add table
Add a link
Reference in a new issue