Skip to content

Instantly share code, notes, and snippets.

@uriel1998
Created August 19, 2023 08:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save uriel1998/da34848e2cbd3d3d1169d9a2a77d4127 to your computer and use it in GitHub Desktop.
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
#!/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