From c3b2bace9bbe1fba95258311f65b4e9c0890f86b Mon Sep 17 00:00:00 2001 From: Harry Wixley Date: Thu, 20 Jun 2024 23:06:08 +0100 Subject: [PATCH] GPT-commit: Refactor `.gitignore` and `wyx-cli.sh` for cleaner setup configurations. Refactor `.gitignore` and `wyx-cli.sh` for improved setup configurations by optimizing file tracking rules and enhancing script readability and organization. --- .gitignore | 3 ++- wyx-cli.sh | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 5fbd7e3..f3bd5a2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .wyx-cli-data/ wyx-cli-template.sh -*.pyc \ No newline at end of file +*.pyc +deb/ diff --git a/wyx-cli.sh b/wyx-cli.sh index dc64029..caa4d47 100755 --- a/wyx-cli.sh +++ b/wyx-cli.sh @@ -67,7 +67,9 @@ wyx_update() { # } &> /dev/null } -wyx_update "" +if [ "$1" = "" ]; then + wyx_update "" +fi # ARGPARSE