Skip to content

Instantly share code, notes, and snippets.

@refola
refola / update-signal.sh
Created November 18, 2020 19:39
script for updating PKGBUILD for Signal on Chakra Linux
#!/usr/bin/bash
echo "Flags: ($*)"
# Check that everything's okay to run this
if ! cd "$(dirname "$(readlink -f "$0")")/signal-desktop-bin"; then
echo "Could not 'cd' to package's directory."
exit 1
fi
echo "cd'd"
if [ "$#" != "1" ]; then
@refola
refola / update-syncthing.sh
Created November 18, 2020 19:32
script for updating PKGBUILD for Syncthing on Chakra Linux
#!/usr/bin/bash
echo "Flags: ($*)"
# Check that everything's okay to run this
if ! cd "$(dirname "$(readlink -f "$0")")/syncthing"; then
echo "Could not 'cd' to package's directory."
exit 1
fi
echo "cd'd"
if [ "$#" != "1" ]; then
#!/usr/bin/bash
# update-unciv.sh
# update ./unciv/PKGBUILD to the given version
# License: WTFPL v2 "You just DO WHAT THE FUCK YOU WANT TO."
echo "Flags: ($*)"
# Check that everything's okay to run this
if ! cd "$(dirname "$(readlink -f "$0")")/unciv"; then
echo "Could not 'cd' to package's directory."
exit 1