mirror of
https://github.com/edu4rdshl/simpleaur.git
synced 2026-07-17 23:24:46 +00:00
Fix function
This commit is contained in:
parent
bc1ce3fc26
commit
e5db6ef4c7
1 changed files with 2 additions and 2 deletions
|
|
@ -47,7 +47,7 @@ function usage(){
|
||||||
|
|
||||||
function ctrl_c() {
|
function ctrl_c() {
|
||||||
printf "\n${RED}Keyboard Interrupt detected, removing lock file and leaving...\n"
|
printf "\n${RED}Keyboard Interrupt detected, removing lock file and leaving...\n"
|
||||||
rm "$lockfile"
|
rm -f "$lockfile"
|
||||||
printf "${ALL_OFF}"
|
printf "${ALL_OFF}"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
@ -117,7 +117,7 @@ if ! command -v pacman > /dev/null; then
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
logfilecheck
|
lockfilecheck
|
||||||
# Check if the package was already downloaded and then download the PKGBUILDs accordly to user needs.
|
# Check if the package was already downloaded and then download the PKGBUILDs accordly to user needs.
|
||||||
for ipackage in "$@"; do
|
for ipackage in "$@"; do
|
||||||
if [ -f "$basebuilddir/$ipackage/PKGBUILD" ]; then
|
if [ -f "$basebuilddir/$ipackage/PKGBUILD" ]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue