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
bc356496
Commit
bc356496
authored
Jun 11, 2019
by
Paul Cammish
Browse files
Remove sympl-common if installed
parent
adbe8f75
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/debian/postinst
View file @
bc356496
...
...
@@ -95,6 +95,7 @@ if [ ! -e "/srv/$HOSTNAME" ] ; then
# Create the standard directories
#
mkdir
-p
/srv/
$HOSTNAME
/public/htdocs
mkdir
-p
/srv/
$HOSTNAME
/public/logs
mkdir
-p
/srv/
$HOSTNAME
/config
mkdir
-p
/srv/
$HOSTNAME
/mailboxes/root
...
...
@@ -159,10 +160,13 @@ echo "roundcube-core roundcube/dbconfig-install boolean true" | debconf-set-sele
echo
"roundcube-core roundcube/database-type select mysql"
| debconf-set-selections
echo
"roundcube-core roundcube/mysql/app-pass password"
| debconf-set-selections
# If sympl-filesystem-security is in the path, run it.
if
[
"x
$(
which sympl-filesystem-security
)
"
!=
"x"
]
;
then
sympl-filesystem-security
fi
# 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/
...
...
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