Skip to content
This repository has been archived by the owner on Dec 21, 2020. It is now read-only.

Commit

Permalink
Update install_to_bin.sh
Browse files Browse the repository at this point in the history
A minor mistake, backup was not working.
  • Loading branch information
Taguar258 authored Oct 23, 2020
1 parent c8db796 commit cac626e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install_to_bin.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/bash
echo "[i] We will now install Raven-Storm to your bin path..."
if [ -d "/usr/bin/Raven-Storm" ] ; then
if [ -d "/usr/share/Raven-Storm" ] ; then
echo "[i] Found an old version of Raven-Storm, proceeding to update..."
echo "[i] Backing up old verison."
if [ -d "/usr/bin/Raven-Storm/Backup" ] ; then
sudo mv /usr/bin/Raven-Storm/Backup ./Backup
if [ -d "/usr/share/Raven-Storm/Backup" ] ; then
sudo mv /usr/share/Raven-Storm/Backup ./Backup
else
mkdir ./Backup
fi
Expand Down

0 comments on commit cac626e

Please sign in to comment.