Browse Source

non-interactive

bookworm
pvincent 3 years ago
parent
commit
8ed95ffc05
  1. 4
      README.md
  2. 4
      src/main

4
README.md

@ -2,9 +2,9 @@ debian-gnome
============
configuration pour un bureau Gnome propre et efficace.
utilisé lors des Instalalis dispensés par Libre.re
utilisé lors des Instalalis dispensées par Libre.re
install one-liner
-----------------
`curl -s https://git.artcode.re/pvincent/debian-gnome/raw/master/src/main | bash`
`wget -q https://git.artcode.re/pvincent/debian-gnome/raw/master/src/main -O /tmp/main | bash /tmp/main`

4
src/main

@ -72,6 +72,7 @@ fi
echo "# required packages"
echo "==================="
sudo export DEBIAN_FRONTEND=noninteractive
for package in ${REQUIRED_PACKAGES[@]}; do
runVoid dpkg-query --status $package
if [ $runVoidError -ne 0 ] ; then
@ -80,6 +81,7 @@ for package in ${REQUIRED_PACKAGES[@]}; do
echo "DONE"
fi
done
sudo unset DEBIAN_FRONTEND
echo "## remove hplip annoyance"
echo "========================="
@ -203,7 +205,7 @@ EXTENSIONS=(
for extension in "${EXTENSIONS[@]}"; do
if [[ ! -d $HOME/.local/share/gnome-shell/extensions/$extension ]];then
gnome-extensions-cli install $extension
gnome-extensions-cli --backend file install $extension
if [[ -d $HOME/.local/share/gnome-shell/extensions/$extension/schemas ]]; then
sudo cp $HOME/.local/share/gnome-shell/extensions/$extension/schemas/*.gschema.xml /usr/share/glib-2.0/schemas/
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/

Loading…
Cancel
Save