Ampersand as last parameter might fix the redirect?
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
necessary_packages=("pdflatex")
|
||||
|
||||
for package in "${necessary_packages}"; do
|
||||
if ! [dpkg -l "${package}" > /dev/null 2>&1]; then
|
||||
if ! [dpkg -l "${package}" > /dev/null 2>&1 &]; then
|
||||
echo "Error: ${package} is not installed."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user