Skip to content

Commit 45772a8

Browse files
committed
Only install Bitwarden if system has GUI
1 parent 76fbd13 commit 45772a8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/install-packages.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,9 @@ if [ "${DESKTOP_ENVIRONMENT}" = 'GNOME' ]; then
674674
install_flatpak 'org.gnome.seahorse.Application'
675675
fi
676676

677-
install_flatpak 'com.bitwarden.desktop'
677+
if ${HAS_GUI}; then
678+
install_flatpak 'com.bitwarden.desktop'
679+
fi
678680

679681
################
680682
### Settings ###

0 commit comments

Comments
 (0)