Jump to content

Does an upgrade procedure for the Linux client exist?


Recommended Posts

  • 2 weeks later...

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
 

 

 

Link to comment
Share on other sites

  • 9 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...