We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97dcd65 commit 46d1722Copy full SHA for 46d1722
1 file changed
setup/packages/list.sh
@@ -35,6 +35,11 @@ installPackages() {
35
PKG_OK=$(dpkg-query -W --showformat='${Status}\n' "$packageName" | grep "install ok installed")
36
echo "Checking for $packageName: $PKG_OK"
37
while true; do
38
+ if [[ -n $PKG_OK ]]; then
39
+ echo "$packageName is already installed."
40
+ echo ""
41
+ break
42
+ fi
43
if [[ $ACCEPT_INSTALL =~ ^[Yy]$ ]]; then
44
yn="y"
45
else
0 commit comments