Mint-Skript ebenfalls mit oem-config ausgestattet und apt-proxy verwenden, falls da
This commit is contained in:
parent
8bc989636d
commit
f1743ea11b
|
@ -18,6 +18,7 @@ packages=(
|
||||||
gimp
|
gimp
|
||||||
inkscape
|
inkscape
|
||||||
pinta
|
pinta
|
||||||
|
krita
|
||||||
|
|
||||||
# Office
|
# Office
|
||||||
libreoffice
|
libreoffice
|
||||||
|
@ -26,7 +27,7 @@ packages=(
|
||||||
keepassxc
|
keepassxc
|
||||||
|
|
||||||
# Games
|
# Games
|
||||||
0ad
|
#0ad
|
||||||
beneath-a-steel-sky
|
beneath-a-steel-sky
|
||||||
billard-gl
|
billard-gl
|
||||||
blobby
|
blobby
|
||||||
|
@ -59,6 +60,7 @@ packages=(
|
||||||
|
|
||||||
# System management
|
# System management
|
||||||
gparted
|
gparted
|
||||||
|
oem-config
|
||||||
|
|
||||||
# Tools
|
# Tools
|
||||||
f3
|
f3
|
||||||
|
@ -167,6 +169,18 @@ echo "\
|
||||||
"
|
"
|
||||||
e "Starte initiales Setup für Rechner mit frisch installiertem '${script_distro}' …"
|
e "Starte initiales Setup für Rechner mit frisch installiertem '${script_distro}' …"
|
||||||
|
|
||||||
|
# apt proxy benutzen (bedingt = wenn da)
|
||||||
|
ping -c 1 apt-proxy
|
||||||
|
if [ "$?" -eq "0" ]; then
|
||||||
|
echo 'Acquire::https::Proxy "http://apt-proxy:3142";' > /etc/apt/apt.conf.d/01aptproxy
|
||||||
|
echo 'Acquire::http::Proxy "http://apt-proxy:3142";' >> /etc/apt/apt.conf.d/01aptproxy
|
||||||
|
e "Proxy Apt-Aktiv"
|
||||||
|
else
|
||||||
|
e "Kein Apt-Proxy"
|
||||||
|
fi
|
||||||
|
echo 'Dpkg::Options "--force-unsafe-io";' >> /etc/apt/apt.conf.d/01aptproxy
|
||||||
|
|
||||||
|
|
||||||
###
|
###
|
||||||
# Automatic installation
|
# Automatic installation
|
||||||
###
|
###
|
||||||
|
@ -230,4 +244,8 @@ dconf update
|
||||||
###
|
###
|
||||||
# Finalisation
|
# Finalisation
|
||||||
###
|
###
|
||||||
|
e "Apt proxy wieder entfernen..."
|
||||||
|
rm /etc/apt/apt.conf.d/01aptproxy
|
||||||
|
|
||||||
e "Initiales Setup beendet."
|
e "Initiales Setup beendet."
|
||||||
|
oem-config-prepare
|
||||||
|
|
Loading…
Reference in New Issue