diff --git a/pika.sh b/pika.sh index 066d9b6..ce580bf 100755 --- a/pika.sh +++ b/pika.sh @@ -264,18 +264,20 @@ script-exists() { check-pika() { local url tmp bin url="https://git.k4li.de/scripts/installs/raw/branch/main/pika.sh" - tmp="$(mktemp)" - bin=/usr/local/bin/pika + tmp="$(mktemp -d)" + bin=/usr/bin/pika if ! command-exists pika; then pen "The 'pika' binary was not found on this system." if confirm "Do you want to install it now?"