From 817ac5712883e526917cddc9c5e55b95a800b2d7 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 7 Aug 2024 13:10:04 -0300 Subject: Fix: provision: debian: messenger: startup programs --- share/provision/debian/messenger | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'share') diff --git a/share/provision/debian/messenger b/share/provision/debian/messenger index bdd8f7e..9b63a21 100755 --- a/share/provision/debian/messenger +++ b/share/provision/debian/messenger @@ -25,6 +25,7 @@ HOSTNAME="$1" DOMAIN="$2" MIRROR="$3" APT_INSTALL="sudo LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get install -y" +CONFIG='PROGRAMS="signal-desktop"' # Provision the basic stuff $DIRNAME/desktop-basic $HOSTNAME $DOMAIN $MIRROR @@ -37,3 +38,8 @@ sudo trashman install signal-desktop # Install Gajim $APT_INSTALL gajim gajim-omemo + +# Startup +if ! grep -q "^$CONFIG$" $HOME/.custom/xsession-${HOSTNAME} 2> /dev/null; then + echo "$CONFIG" >> $HOME/.custom/xsession-${HOSTNAME} +fi -- cgit v1.2.3