forked from Shinonome/dots-hyprland
Update checkdeps
This commit is contained in:
@@ -6,13 +6,13 @@
|
|||||||
pkglistfile=$(mktemp)
|
pkglistfile=$(mktemp)
|
||||||
pkglistfile_orig=${LIST_FILE_PATH}
|
pkglistfile_orig=${LIST_FILE_PATH}
|
||||||
pkglistfile_orig_s=${REPO_ROOT}/cache/dependencies_stripped.conf
|
pkglistfile_orig_s=${REPO_ROOT}/cache/dependencies_stripped.conf
|
||||||
if ! $(command -v curl);then
|
if ! "$(command -v curl)";then
|
||||||
echo "Please install curl first.";exit 1
|
echo "Please install curl first.";exit 1
|
||||||
fi
|
fi
|
||||||
if ! $(command -v gzip);then
|
if ! "$(command -v gzip)";then
|
||||||
echo "Please install gzip first.";exit 1
|
echo "Please install gzip first.";exit 1
|
||||||
fi
|
fi
|
||||||
if ! $(command -v pacman);then
|
if ! "$(command -v pacman)";then
|
||||||
echo "pacman not found, aborting...";exit 1
|
echo "pacman not found, aborting...";exit 1
|
||||||
fi
|
fi
|
||||||
remove_bashcomments_emptylines $pkglistfile_orig $pkglistfile_orig_s
|
remove_bashcomments_emptylines $pkglistfile_orig $pkglistfile_orig_s
|
||||||
|
|||||||
Reference in New Issue
Block a user