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
b9d0c98a
Commit
b9d0c98a
authored
Sep 15, 2020
by
Paul Cammish
Browse files
Enable backport repo in Debian Buster and configure for phpmyadmin install
parent
bd64ec55
Changes
1
Hide whitespace changes
Inline
Side-by-side
install.sh
View file @
b9d0c98a
...
...
@@ -71,6 +71,20 @@ if [ "x$(which debconf-set-selections)" = "x" ]; then
fi
fi
if
[
"
$(
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
echo
' ok'
fi
if
[
!
-f
/etc/apt/preferences.d/sympl-phpmyadmin
]
;
then
echo
-n
'Enabling install of phpmyadmin from backports...'
echo
-e
"Package: phpmyadmin
\n
Pin: release a=buster-backports
\n
Pin-Priority: 900"
>
/etc/apt/preferences.d/sympl-phpmyadmin
echo
-e
"Package: php-twig
\n
Pin: release a=buster-backports
\n
Pin-Priority: 900"
>>
/etc/apt/preferences.d/sympl-phpmyadmin
echo
' ok'
fi
fi
echo
"Installing Sympl from '
$version
' repository."
echo
"Setting defaults..."
...
...
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