we dont need to run convert-gnome-classic script

This commit is contained in:
m0duspwnens
2023-08-31 08:54:13 -04:00
parent 14a6280531
commit c812c3991e
2 changed files with 1 additions and 8 deletions

View File

@@ -1,4 +0,0 @@
#!/bin/bash
echo "Setting default session to gnome-classic"
cp /usr/share/accountsservice/user-templates/standard /etc/accountsservice/user-templates/
sed -i 's|Session=gnome|Session=gnome-classic|g' /etc/accountsservice/user-templates/standard

View File

@@ -12,10 +12,7 @@ graphical_target:
- require: - require:
- desktop_packages - desktop_packages
convert_gnome_classic: {# set users to use gnome-classic #}
cmd.script:
- name: salt://desktop/scripts/convert-gnome-classic.sh
{% for username in salt['file.find'](path='/home/',mindepth=1,maxdepth=1,type='d') %} {% for username in salt['file.find'](path='/home/',mindepth=1,maxdepth=1,type='d') %}
{% set username = username.split('/')[2] %} {% set username = username.split('/')[2] %}
{% if username != 'zeek' %} {% if username != 'zeek' %}