chmod +x fix

pull/20/head
Botspot 5 years ago
parent 51b7bb6336
commit 19d530d2fa

@ -9,15 +9,20 @@ function error {
# Get dependencies
"${DIRECTORY}/pkg-install" "yad" "$(dirname "$0")" || exit 1
rm -rf update-buddy
git clone https://github.com/Botspot/update-buddy || error 'Failed to clone example.com repository!'
mkdir -p ~/.config/autostart
echo "[Desktop Entry]
Name=Update Buddy
Exec=bash $HOME/update-buddy/onstartup.sh
Exec=$HOME/update-buddy/onstartup.sh
Type=Application
X-GNOME-Autostart-enabled=true
Hidden=false
NoDisplay=false" > ~/.config/autostart/update-buddy.desktop
chmod +x $HOME/update-buddy/onstartup.sh
#first time run
$HOME/update-buddy/onstartup.sh

Loading…
Cancel
Save