Skip to content

Instantly share code, notes, and snippets.

@refola
refola / update-signal.sh
Created Nov 18, 2020
script for updating PKGBUILD for Signal on Chakra Linux
View update-signal.sh
#!/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 Nov 18, 2020
script for updating PKGBUILD for Syncthing on Chakra Linux
View update-syncthing.sh
#!/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
View update-unciv.sh
#!/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
You can’t perform that action at this time.