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 -e | |
| echo "Are we superuser?" | |
| [[ $EUID -eq 0 ]] | |
| echo "OK" | |
| # Make sure cleanup runs even if the script exits abnormally | |
| trap "rm --force /tmp/discord.deb" EXIT | |
| # Find latest package version |
OlderNewer