From 0dae5aa580a287e5a219784dc33ba903dd399fea Mon Sep 17 00:00:00 2001 From: wilou Date: Thu, 30 Mar 2023 20:12:01 +0000 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'install.sh'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 89aa68c..0f11c10 100644 --- a/install.sh +++ b/install.sh @@ -110,8 +110,12 @@ flatpak install flathub com.usebottles.bottles com.github.geigi.cozy io.crow_tra flatpak --user override --filesystem=/run/udev:ro io.github.hmlendea.geforcenow-electron # Edition du fichier crontab pour éxecution du script post-redémarrage -cp $builddir/crontabs/wilou /var/spool/cron/crontabs/wilou -chown $username:$username /var/spool/cron/crontabs/wilou +touch /tmp/wibian/$username +cp $builddir/runonce.sh /tmp/ +sed -i -e '$a@reboot bash /home/$username/wibian/runonce.sh' +sed -i -e '$a@reboot crontab -r -u $username' +cp /tmp/wibian/$username /var/spool/cron/crontabs/ +chown $username:$username /var/spool/cron/crontabs/$username # Copie des lanceurs d'applications personnalisés mkdir -p /home/$username/.config/mate/panel2.d/default/launchers