aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-08-07 13:10:04 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-08-07 13:10:04 -0300
commit817ac5712883e526917cddc9c5e55b95a800b2d7 (patch)
tree8b9b96f2d8a1f88eb71d1ff6d897f4a8c5ab01a8
parentee90d73ac9c7ad4bb592624de42f79a94cbaad21 (diff)
downloadkvmx-817ac5712883e526917cddc9c5e55b95a800b2d7.tar.gz
kvmx-817ac5712883e526917cddc9c5e55b95a800b2d7.tar.bz2
Fix: provision: debian: messenger: startup programs
-rwxr-xr-xshare/provision/debian/messenger6
1 files changed, 6 insertions, 0 deletions
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