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
Sympl
Sympl Install Script
Commits
4b5dbb86
Commit
4b5dbb86
authored
Aug 13, 2021
by
Paul Cammish
Browse files
Merge branch 'kelduum-master-patch-24635' into 'master'
Only enable backports on Debian Buster See merge request sympl/install!1
parents
6fc84a3e
7e1ccb5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
install.sh
View file @
4b5dbb86
...
...
@@ -42,7 +42,7 @@ fi
clear
echo
echo
"-----------------------------------------------------------------------"
echo
" Sympl Installer v0.
8
"
echo
" Sympl Installer v0.
9
"
echo
"-----------------------------------------------------------------------"
echo
echo
"This script will help you install Sympl on a Debian Linux or Raspberry"
...
...
@@ -75,7 +75,9 @@ if [ "x$(which debconf-set-selections)" = "x" ]; then
fi
fi
if
[
"
$(
lsb_release
-c
-s
)
"
==
"buster"
]
;
then
# If we're running Debian Buster, then add the backports repo so we can get to phpMyAdmin there
# We don't need to do this with Raspbian/Raspberry Pi OS as it's in the normal repo there
if
[
"
$(
lsb_release
-i
-s
)
"
==
"Debian"
]
&&
[
"
$(
lsb_release
-c
-s
)
"
==
"buster"
]
;
then
if
[
$(
cat
/etc/apt/sources.list /etc/apt/sources.list.d/
*
.list |
sed
's|#.*||'
|
grep
-c
'^deb .* buster-backports'
)
-lt
1
]
;
then
echo
-n
'Enabling Debian buster-backports repo for phpmyadmin...'
echo
"deb http://deb.debian.org/debian buster-backports main"
>
/etc/apt/sources.list.d/enable_backports.list
...
...
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