Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
migre-ptx-2-3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
primtux-eole
Grenoble
migre-ptx-2-3
Commits
46154174
Verified
Commit
46154174
authored
6 years ago
by
David Beniamine
Browse files
Options
Downloads
Patches
Plain Diff
Make all apt not interactive
parent
dea12233
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
ptx2-3-vers-4.sh
+6
-5
6 additions, 5 deletions
ptx2-3-vers-4.sh
with
6 additions
and
5 deletions
ptx2-3-vers-4.sh
+
6
−
5
View file @
46154174
...
...
@@ -31,8 +31,9 @@ exec 2>>"$fichierlog"
# Suppression de la référence au dépôt Primtux2-Lubuntu
sed
-i
'/PrimTux-Lubuntu/d'
/etc/apt/sources.list.d/primtux.list
apt-get update
DEBIAN_FRONTEND
=
'noninteractive'
apt-get
-y
dist-upgrade
DEBIAN_FRONTEND
=
'noninteractive'
apt-get
-o
Dpkg::Options::
=
"--force-confold"
update
DEBIAN_FRONTEND
=
'noninteractive'
apt-get
-o
Dpkg::Options::
=
"--force-confold"
update
-y
dist-upgrade
# Vérifie l'OS
archi
=
$(
uname
-m
)
...
...
@@ -124,8 +125,8 @@ if [ "$version" = "8 (jessie)" ]
fi
# Harmonisation des paquets
sudo
apt-get remove
-y
--purge
handymenu-primtux2 handymenu-mini-primtux2 handymenu-maxi-primtux2 handymenu-super-primtux2 qalculate-gtk
apt-get
install
-y
handymenu thunderbird thunderbird-l10n-fr gnome-calculator geany mothsart-wallpapers-primtux gspeech xfce4-notifyd gir1.2-gstreamer-1.0
sudo
DEBIAN_FRONTEND
=
'noninteractive'
apt-get remove
-y
--purge
handymenu-primtux2 handymenu-mini-primtux2 handymenu-maxi-primtux2 handymenu-super-primtux2 qalculate-gtk
DEBIAN_FRONTEND
=
'noninteractive'
apt-get
-o
Dpkg::Options::
=
"--force-confold"
install
-y
handymenu thunderbird thunderbird-l10n-fr gnome-calculator geany mothsart-wallpapers-primtux gspeech xfce4-notifyd gir1.2-gstreamer-1.0
# Rétablissement de la propriété de chaque home
chown
-R
01-mini:01-mini /home/01-mini
...
...
@@ -247,6 +248,6 @@ if ! [ -e "/etc/primtux_version" ]
fi
fi
apt-get update
&&
apt-get
dist-upgrade
DEBIAN_FRONTEND
=
'noninteractive'
apt-get
-o
Dpkg::Options::
=
"--force-confold"
update
&&
DEBIAN_FRONTEND
=
'noninteractive'
apt-get
-o
Dpkg::Options::
=
"--force-confold"
dist-upgrade
exit
0
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment