mirror of
https://github.com/edu4rdshl/archlinux-pkgrecover.git
synced 2026-07-17 23:24:46 +00:00
Update pkgrecover.sh
This commit is contained in:
parent
0eec8cceb0
commit
08410b71c0
1 changed files with 3 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ directory_check() {
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
install_pacman_static() {
|
install_pacman_static() {
|
||||||
if [[ ! -f /tmp/pacman-static.installed ]]; then
|
if [[ ! -f /tmp/pacman-static.installed ]]; then
|
||||||
echo "Downloading and installing pacman-static. In case that curl fails, you can download the binary from:"
|
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."
|
echo "paclog is not installed. Use the --pacman-db option instead or install the pacutils package."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
directory_check
|
||||||
}
|
}
|
||||||
|
|
||||||
cleanup() {
|
cleanup() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue