Skip to content

Commit

Permalink
Merge pull request #38 from whitewhidow/development
Browse files Browse the repository at this point in the history
fixke
  • Loading branch information
whitewhidow authored Nov 4, 2020
2 parents acb73da + e1813b5 commit 667db9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions sideload-gui
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ while [ -z $CI ] && true; do


if [[ "$SELECTION" == *"available updates"* ]]; then #tee /dev/tty
[ -z $CI ] && [ $MOUNTSUCCESS ] && UPD=$(sideload-check-updates | grep "\[+\]") ; zenity --info --width=800 --text="We found the following available updates:\n\n$UPD" ; continue 1
[ ! $MOUNTSUCCESS ] && zenity --info --width=800 --text="\n\nSorry this feature only works when the mount is successfull, (obviously) "
[ -z $CI ] && [ "$MOUNTSUCCESS" == true ] && UPD=$(sideload-check-updates | grep "\[+\]") && zenity --info --width=800 --text="We found the following available updates:\n\n$UPD" ; continue 1
[ "$MOUNTSUCCESS" == false ] && zenity --info --width=800 --text="\n\nSorry this feature only works when the mount is successfull, (obviously) "
fi

if [[ "$SELECTION" == *"Change device settings"* ]]; then #tee /dev/tty
Expand Down
2 changes: 1 addition & 1 deletion whitewhidow-mount
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash
source sideloader-config


if [ ${EUID:-$(id -u)} -eq 0 ]; then
echo "PLEASE DO NOT RUN THIS SCRIPT USING ROOT"
exit
Expand Down Expand Up @@ -39,7 +40,6 @@ if [ $# -eq 0 ]; then


rclone rcd --rc-web-gui --rc-no-auth --config=$CLOC --rc-addr :0 & > /dev/null
PID=$!
sleep 1
echo -e "\n\n"
read -p "$cr$cr Rclone-web-gui ($!) is now serving, $cr$cr press [ENTER] to stop it gracefully. $cr$cr" < "$(tty 0>&2)"
Expand Down

0 comments on commit 667db9f

Please # to comment.