deploy_phpmyadmin_buster.sh
· 617 B · Bash
Surowy
#!/bin/bash
# wget https://gist.githubusercontent.com/waja/77e3d2febb0745478466344f0ce5a50e/raw/deploy_phpmyadmin_buster.sh -O /tmp/a && sh /tmp/a
# taken from https://github.com/phpmyadmin/phpmyadmin/issues/15236#issuecomment-507871960
[ $(grep buster-backports /etc/apt/sources.list.d/* | wc -l) -le 0 ] && cat <<EOF >> /etc/apt/sources.list.d/buster-backports.list
#
# Debian backports
#
deb http://ftp.de.debian.org/debian/ buster-backports main non-free contrib
deb-src http://ftp.de.debian.org/debian/ buster-backports main non-free contrib
EOF
apt-get update
apt-get -y install -t buster-backports phpmyadmin
| 1 | #!/bin/bash |
| 2 | # wget https://gist.githubusercontent.com/waja/77e3d2febb0745478466344f0ce5a50e/raw/deploy_phpmyadmin_buster.sh -O /tmp/a && sh /tmp/a |
| 3 | # taken from https://github.com/phpmyadmin/phpmyadmin/issues/15236#issuecomment-507871960 |
| 4 | [ $(grep buster-backports /etc/apt/sources.list.d/* | wc -l) -le 0 ] && cat <<EOF >> /etc/apt/sources.list.d/buster-backports.list |
| 5 | # |
| 6 | # Debian backports |
| 7 | # |
| 8 | |
| 9 | deb http://ftp.de.debian.org/debian/ buster-backports main non-free contrib |
| 10 | deb-src http://ftp.de.debian.org/debian/ buster-backports main non-free contrib |
| 11 | EOF |
| 12 | apt-get update |
| 13 | apt-get -y install -t buster-backports phpmyadmin |
| 14 |