Skip to content
This repository
Newer
Older
100755 21 lines (18 sloc) 0.605 kb
546d6e29 »
2011-03-25 install modifications, finished new config setup
1 #!/bin/sh -e
2 # Distributed under the terms of the BSD License.
3 # Copyright (c) 2011 Phil Cryer phil.cryer@gmail.com
4 # Source https://github.com/philcryer/lipsync
5
6 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
7
83ecf9cc »
2011-06-17 uninstall now removes the lipsync line from user's crontab cleanly
8 if [ -e $CONF_FILE ]; then
9 . $CONF_FILE
10 fi
11
546d6e29 »
2011-03-25 install modifications, finished new config setup
12 echo "lipsync uninstall script"
13 rm -rf /usr/share/doc/lipsyncd
14 rm /etc/init.d/lipsync*
15 rm /etc/lipsync*
16 rm /usr/local/bin/lipsync
17 unlink /usr/local/bin/lipsyncd
2c9a993d »
2011-04-28 added lipsync-notify to the install and uninstall to handle popups in…
18 rm /usr/local/bin/lipsync-notify
83ecf9cc »
2011-06-17 uninstall now removes the lipsync line from user's crontab cleanly
19 crontab -u $username -l | awk '$0!~/lipsync/ { print $0 }' > newcronjob
20 crontab -u $username newcronjob; rm newcronjob
ff5982a2 »
2010-11-16 added repair_state.sh script
21 exit 0
546d6e29 »
2011-03-25 install modifications, finished new config setup
22
23
Something went wrong with that request. Please try again.