From a64487d5db57b9e281a5953b082618d2c1fca8a4 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 13 Jan 2013 17:32:58 -0200 Subject: Removing old scripts and cleaning up some code --- misc/firefox-rotate | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100755 misc/firefox-rotate (limited to 'misc/firefox-rotate') diff --git a/misc/firefox-rotate b/misc/firefox-rotate deleted file mode 100755 index e116e0a..0000000 --- a/misc/firefox-rotate +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash -# -# firefox profile local backup -# - -BACKUPDIR="$HOME/backups/mozilla" - -if [ ! -d "/$BACKUPDIR" ]; then - mkdir -p $BACKUPDIR -fi - -if [ -d "/$BACKUPDIR/mozilla.2" ]; then - rm -rf /$BACKUPDIR/mozilla.2 -fi - -if [ -d "/$BACKUPDIR/mozilla.1" ]; then - mv /$BACKUPDIR/mozilla.1 /$BACKUPDIR/mozilla.2 -fi - -cp -Rp $HOME/.mozilla /$BACKUPDIR/mozilla.1 - -- cgit v1.2.3