Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
curusarn committed Dec 16, 2019
1 parent 4b5913f commit c547110
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ else
fi
fi


echo
echo "INSTALLATION"
exit 0
echo "Creating directories ..."
# INSTALLATION

mkdir_if_not_exists() {
Expand Down Expand Up @@ -115,6 +115,7 @@ cp -fr data/sanitizer ~/.resh/sanitizer_data
# backward compatibility: We have a new location for resh history file
[ ! -f ~/.resh/history.json ] || mv ~/.resh/history.json ~/.resh_history.json

echo "Finishing up ..."
# Adding resh shellrc to .bashrc ...
grep -q '[[ -f ~/.resh/shellrc ]] && source ~/.resh/shellrc' ~/.bashrc ||\
echo -e '\n[[ -f ~/.resh/shellrc ]] && source ~/.resh/shellrc' >> ~/.bashrc
Expand Down Expand Up @@ -143,7 +144,7 @@ nohup resh-daemon &>/dev/null & disown
# Generating resh-uuid ...
[ -e "$(HOME)/.resh/resh-uuid" ] \
|| cat /proc/sys/kernel/random/uuid > "$(HOME)/.resh/resh-uuid" 2>/dev/null \
|| ./uuid.sh > "$(HOME)/.resh/resh-uuid" 2>/dev/null
|| scripts/uuid.sh > "$(HOME)/.resh/resh-uuid" 2>/dev/null

echo "\
Expand Down
1 change: 1 addition & 0 deletions scripts/rawinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

set -euo pipefail

echo
echo "Please report any issues you encounter to: https://github.com/curusarn/resh/issues"
echo

Expand Down

0 comments on commit c547110

Please sign in to comment.