Another double quote on variable name
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
# Check if necessary packages are installed
|
# Check if necessary packages are installed
|
||||||
necessary_packages=("pdflatex")
|
necessary_packages=("pdflatex")
|
||||||
|
|
||||||
for package in ${necessary_packages}; do
|
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."
|
echo "Error: ${package} is not installed."
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user