From 04d36a791f9a80a514f8383d44dddc471b3abe68 Mon Sep 17 00:00:00 2001 From: victor Date: Sat, 2 Jan 2021 16:45:41 +0330 Subject: [PATCH] some typo fixed --- README.md | 2 +- scripts/PhotoshopSetup.sh | 2 +- scripts/uninstaller.sh | 4 ++-- scripts/winecfg.sh | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3d68a2c..ad08d21 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ or when no options are given, the installer script will use the default path, the uninstaller script and others will detect your custom path so there is no problem, I recommend using the `-d` option and having the default cache directory. -this feature is currently being tested, and will later be added to `setup.sh` +this feature is currently being tested, and will be added to `setup.sh` later
diff --git a/scripts/PhotoshopSetup.sh b/scripts/PhotoshopSetup.sh index 8d83aad..518c749 100755 --- a/scripts/PhotoshopSetup.sh +++ b/scripts/PhotoshopSetup.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash source "sharedFuncs.sh" -function main(){ +function main() { mkdir -p $SCR_PATH mkdir -p $CACHE_PATH diff --git a/scripts/uninstaller.sh b/scripts/uninstaller.sh index cb4d975..6346b19 100755 --- a/scripts/uninstaller.sh +++ b/scripts/uninstaller.sh @@ -2,7 +2,7 @@ source "sharedFuncs.sh" -main(){ +main() { CMD_PATH="/usr/local/bin/photoshop" ENTRY_PATH="/home/$USER/.local/share/applications/photoshop.desktop" @@ -61,7 +61,7 @@ main(){ } #parameters [Message] [default flag [Y/N]] -function ask_question(){ +function ask_question() { result="" if [ "$2" == "Y" ];then read -r -p "$1 [Y/n] " response diff --git a/scripts/winecfg.sh b/scripts/winecfg.sh index 9a66a50..82c8c28 100755 --- a/scripts/winecfg.sh +++ b/scripts/winecfg.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash source "sharedFuncs.sh" -function main(){ +function main() { load_paths RESOURCES_PATH="$SCR_PATH/resources" WINE_PREFIX="$SCR_PATH/prefix"