Jump to content
flickerfly

Does an upgrade procedure for the Linux client exist?

Recommended Posts

Here is my little script I'm using to clean up a server before I install the latest client. I hope it help out. I'm also working on my own installer as I'm finding the current one for Ubuntu continues to be really buggy. If you are interested, pm me. 

#!/bin/bash

# Stop the running client
if [ -f "/usr/local/dantz/client/retrocpl" ]; then                                                                                                              
  /usr/local/dantz/client/retrocpl -stop > /dev/null                                                                                                            
fi                                                                                                                                                              
if [ -f "/usr/local/retrospect/client/retrocpl" ]; then                                                                                                         
  /usr/local/retrospect/client/retrocpl -stop > /dev/null                                                                                                       
fi

# Remove the running client from startup 
update-rc.d -f rcl remove
update-rc.d -f retroclient remove

# Uninstall rpm or deb versions of th client
sudo apt-get -y remove retroclient
sudo apt-get -y remove RetroClient
sudo yum -y remove retroclient
sudo yum -y remove RetroClient

# Remove any files that may be lingering about
rm -rf /usr/local/retrospect/
rm -rf /usr/local/dantz/
rm /etc/init.d/rcl
rm /etc/init.d/retroclient

# Don't remove excludes file cause that comes in handy
#rm /etc/retroclient.excludes

# Don't remove state file or you have to reactivate client at server
#rm /var/log/retroclient.state
rm /var/log/\retroclient.history
rm /var/log/retroclient.history
rm /var/log/retroclient.log
rm /var/log/retroclient.*.gz
rm /var/log/retropds.log

rm /usr/local/man/man1/retroc*
rm /usr/man/man1/retroc*
rm /usr/share/info/retroclient.info.gz
 

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×