diff options
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/fgmod-remover.sh | 6 | ||||
| -rwxr-xr-x | assets/prepare.sh | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/assets/fgmod-remover.sh b/assets/fgmod-remover.sh index 32d4f71..1d12a18 100644 --- a/assets/fgmod-remover.sh +++ b/assets/fgmod-remover.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash -# Remove /home/deck/fgmod directory if it exists -if [[ -d "/home/deck/fgmod" ]]; then - rm -rf "/home/deck/fgmod" +# Remove ~/fgmod directory if it exists +if [[ -d "$HOME/fgmod" ]]; then + rm -rf "$HOME/fgmod" fi # Remove specific files from ~/Downloads if they exist diff --git a/assets/prepare.sh b/assets/prepare.sh index 13f6ff0..573b1a9 100755 --- a/assets/prepare.sh +++ b/assets/prepare.sh @@ -16,9 +16,9 @@ test_curl() { if test_curl "/usr/lib"; then echo "Using OpenSSL library path: /usr/lib" export LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH" -elif test_curl "/home/linuxbrew/.linuxbrew/lib"; then - echo "Using OpenSSL library path: /home/linuxbrew/.linuxbrew/lib" - export LD_LIBRARY_PATH="/home/linuxbrew/.linuxbrew/lib:$LD_LIBRARY_PATH" +elif test_curl "/usr/lib64"; then + echo "Using OpenSSL library path: /usr/lib64" + export LD_LIBRARY_PATH="/usr/lib64:$LD_LIBRARY_PATH" else echo "Failed to configure OpenSSL for curl. Exiting." exit 1 |
