From 08410b71c0984b467fe6d0bd53bd865bf2e56aa6 Mon Sep 17 00:00:00 2001 From: Eduard Tolosa Date: Mon, 23 Sep 2024 00:09:30 -0500 Subject: [PATCH] Update pkgrecover.sh --- pkgrecover.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgrecover.sh b/pkgrecover.sh index b8a711a..48a2a48 100644 --- a/pkgrecover.sh +++ b/pkgrecover.sh @@ -22,6 +22,7 @@ directory_check() { exit 1 fi } + install_pacman_static() { if [[ ! -f /tmp/pacman-static.installed ]]; then echo "Downloading and installing pacman-static. In case that curl fails, you can download the binary from:" @@ -49,6 +50,8 @@ check_dependencies() { echo "paclog is not installed. Use the --pacman-db option instead or install the pacutils package." exit 1 fi + + directory_check } cleanup() {