Created
August 19, 2023 08:03
-
-
Save uriel1998/da34848e2cbd3d3d1169d9a2a77d4127 to your computer and use it in GitHub Desktop.
Small script to fix symlink for beeper if you installed the AppImage via bauh instead of AppImageLauncher
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ ! -e "${HOME}/.local/bin/beeper" ] ; then | |
new_version=$(/usr/bin/ls ${HOME}/.local/share/bauh/appimage/installed/beeper/*.AppImage) | |
if [ -f "${new_version}" ];then | |
rm "${HOME}/.local/bin/beeper" | |
ln -s "${new_version}" "${HOME}/.local/bin/beeper" | |
else | |
echo "Beeper AppImage not found in bauh install directory!" >&2 | |
exit 99 | |
fi | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment