From c547110d3f78706c587a046ec75077334f782a1e Mon Sep 17 00:00:00 2001 From: Simon Let Date: Mon, 16 Dec 2019 02:44:48 +0100 Subject: [PATCH] fixes --- scripts/install.sh | 7 ++++--- scripts/rawinstall.sh | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/install.sh b/scripts/install.sh index f51249b..62cec6b 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -76,9 +76,9 @@ else fi fi + echo -echo "INSTALLATION" -exit 0 +echo "Creating directories ..." # INSTALLATION mkdir_if_not_exists() { @@ -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 @@ -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 "\ diff --git a/scripts/rawinstall.sh b/scripts/rawinstall.sh index d930531..dcafa99 100755 --- a/scripts/rawinstall.sh +++ b/scripts/rawinstall.sh @@ -2,6 +2,7 @@ set -euo pipefail +echo echo "Please report any issues you encounter to: https://github.com/curusarn/resh/issues" echo