Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ian Eiloart
Sympl
Commits
b7a52169
Commit
b7a52169
authored
Jun 11, 2019
by
Paul Cammish
Browse files
Remove extra packages after update
parent
bc356496
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
b7a52169
...
...
@@ -158,6 +158,7 @@ install:upgrade:
-
chmod -R 664 /repo ; chmod -R +X /repo
-
echo "deb file:/repo stretch main" > /etc/apt/sources.list.d/local.list
-
apt-get -qq update; apt-get -y --allow-unauthenticated upgrade
-
apt-get autoremove
-
run-parts --verbose --exit-on-error autotest/test.d
-
dpkg -l 'sympl*'
variables
:
...
...
core/debian/postinst
View file @
b7a52169
...
...
@@ -163,11 +163,7 @@ echo "roundcube-core roundcube/mysql/app-pass password" | debconf-set-selections
# Run sympl-filesystem-security to enforce permissions
sympl-filesystem-security
echo
'I: Checking for deprecated sympl packages...'
if
dpkg
-l
sympl-common
>
/dev/null
;
then
echo
Found sympl-common. Removing:
;
apt-get
-qq
-y
remove sympl-common
;
fi
# Create htop defaults
if
[
!
-f
/home/sympl/.config/htop/htoprc
]
;
then
mkdir
-p
/home/sympl/.config/htop/
echo
"hide_threads=0
...
...
updater/etc/apt/apt.conf.d/90-sympl-updates
View file @
b7a52169
...
...
@@ -28,7 +28,7 @@ Unattended-Upgrade::Mail "root";
Unattended-Upgrade::MailOnlyOnError "true";
//
//
Don't remove things
.
//
Remove old dependencies which are no longer needed
.
//
Unattended-Upgrade::Remove-Unused-Dependencies "
fals
e";
Unattended-Upgrade::Remove-Unused-Dependencies "
tru
e";
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment