-completely nuke all versions of Airtime from the system

This commit is contained in:
martin 2011-09-22 17:50:42 -04:00
parent 48b08893f0
commit cf5b03ca28
1 changed files with 21 additions and 0 deletions

21
dev_tools/airtime-purge.sh Executable file
View 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