diff --git a/apps/SpeedTest-CLI/install-64 b/apps/SpeedTest-CLI/install-64 index 32c148a..cf58ce5 100755 --- a/apps/SpeedTest-CLI/install-64 +++ b/apps/SpeedTest-CLI/install-64 @@ -15,7 +15,7 @@ tar -xvzf ~/speedtest.tgz || error "failed to extract files!" cd $HOME rm ~/speedtest.tgz -echo "Creating shortcut..." +printf "Creating shortcut..." echo "[Desktop Entry] Type=Application Name=Run Speedtest @@ -26,3 +26,10 @@ Categories=Network;WebBrowser; Path=$HOME/speedtest Terminal=true StartupNotify=false" > ~/.local/share/applications/speedtest.desktop || error "failed to create menu shortcut!" +echo "done" + +printf "creating /usr/local/bin/speedtest so you can launch from terminal..." +echo "#!/bin/bash +$HOME/speedtest/speedtest" | sudo tee /usr/local/bin/speedtest >/dev/null +sudo chmod +x /usr/local/bin/speedtest +echo "done"