chore: rename GIST_REPO to GIT_REPO

This commit is contained in:
xynydev 2023-10-22 12:41:00 +03:00
parent 66b4a359e7
commit 96311d98d9
3 changed files with 5 additions and 5 deletions

View file

@ -6,9 +6,9 @@ CHECKOUT_DIR=/tmp/sync
rm -rf $CHECKOUT_DIR
if [[ -n "${GIST_REPO}" ]]; then
if [[ -n "${GIT_REPO}" ]]; then
git clone "$GIST_REPO" $CHECKOUT_DIR || exit 0
git clone "$GIT_REPO" $CHECKOUT_DIR || exit 0
while IFS=$'\n' read -r app; do
@ -24,6 +24,6 @@ if [[ -n "${GIST_REPO}" ]]; then
else
echo "Repository not specified. Please enter it in $HOME/.config/flatpaksync/env in the POSIX pattern: GIST_REPO=<YOUR_REPO>"
echo "Repository not specified. Please enter it in $HOME/.config/flatpaksync/env in the POSIX pattern: GIT_REPO=<YOUR_REPO>"
fi

View file

@ -4,7 +4,7 @@ CHECKOUT_DIR=/tmp/sync
rm -rf $CHECKOUT_DIR
git clone "$GIST_REPO" $CHECKOUT_DIR || exit 0
git clone "$GIT_REPO" $CHECKOUT_DIR || exit 0
flatpak list --app --columns=app --user > $CHECKOUT_DIR/flatpak.list