fix for aur?

This commit is contained in:
creations 2025-05-18 12:23:23 -04:00
parent 8760f14b9e
commit c5cc8bc4ff
Signed by: creations
GPG key ID: 8F553AA4320FC711

View file

@ -1,6 +1,7 @@
#!/bin/bash #!/bin/bash
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
[[ "$SCRIPT_DIR" == "/usr/bin" ]] && SCRIPT_DIR="/usr/share/grabit"
source "$SCRIPT_DIR/helpers/variables.sh" source "$SCRIPT_DIR/helpers/variables.sh"
source "$SCRIPT_DIR/helpers/installer.sh" source "$SCRIPT_DIR/helpers/installer.sh"