Browse Source

small fix

main
pvincent 3 days ago
parent
commit
65a2b7f7ab
  1. 6
      lib/self-upgrade.bash

6
lib/self-upgrade.bash

@ -3,8 +3,10 @@
# CONSTANTS
#FIXME: source from functions.bash
readonly DESTINATION=/opt
readonly MAIN_TAR_GZ_URL="https://git.artcode.re/miaou/miaou-bash/archive/main.tar.gz"
if [[ ! -v DESTINATION && ! -v MAIN_TAR_GZ_URL ]]; then
readonly DESTINATION=/opt
readonly MAIN_TAR_GZ_URL="https://git.artcode.re/miaou/miaou-bash/archive/main.tar.gz"
fi
# FUNCTIONS

Loading…
Cancel
Save