mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 05:03:33 -05:00
[spelling] prune unused aspell packages (#6944)
GitOrigin-RevId: e40d0a3c834352b4130a071753aab2d91c17226f
This commit is contained in:
parent
4610734f07
commit
bc4be9ddad
1 changed files with 6 additions and 8 deletions
|
@ -5,18 +5,16 @@ set -ex
|
||||||
echo 'APT::Default-Release "stretch";' >/etc/apt/apt.conf.d/default-release
|
echo 'APT::Default-Release "stretch";' >/etc/apt/apt.conf.d/default-release
|
||||||
|
|
||||||
# The following aspell packages exist in Ubuntu but not Debian:
|
# The following aspell packages exist in Ubuntu but not Debian:
|
||||||
# aspell-af, aspell-id, aspell-nr, aspell-ns, aspell-ss, aspell-st, aspell-tn,
|
# aspell-af, aspell-id, aspell-nr, aspell-ns, aspell-st, aspell-tn, aspell-ts, aspell-xhu
|
||||||
# aspell-ts, aspell-xh, aspell-zu
|
echo "deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ focal main universe" > /etc/apt/sources.list.d/focal-amd.list
|
||||||
echo "deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ bionic main universe" > /etc/apt/sources.list.d/bionic-amd.list
|
echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ focal main universe" > /etc/apt/sources.list.d/focal-ports-arm.list
|
||||||
echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ bionic main universe" > /etc/apt/sources.list.d/bionic-ports-arm.list
|
|
||||||
apt-key adv --no-tty --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
|
apt-key adv --no-tty --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
|
||||||
# Need to install aspell-or, aspell-ta and aspell-te from testing (buster) as
|
# Need to install aspell-no from testing (buster) as broken in stable (stretch).
|
||||||
# broken in stable (stretch).
|
|
||||||
echo "deb http://deb.debian.org/debian/ unstable main" > /etc/apt/sources.list.d/unstable.list
|
echo "deb http://deb.debian.org/debian/ unstable main" > /etc/apt/sources.list.d/unstable.list
|
||||||
|
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y aspell aspell-en aspell-af aspell-am aspell-ar aspell-ar-large aspell-bg aspell-bn aspell-br aspell-ca aspell-cs aspell-cy aspell-da aspell-de aspell-de-alt aspell-el aspell-eo aspell-es aspell-et aspell-eu-es aspell-fa aspell-fo aspell-fr aspell-ga aspell-gl-minimos aspell-gu aspell-he aspell-hi aspell-hr aspell-hsb aspell-hu aspell-hy aspell-id aspell-is aspell-it aspell-kk aspell-kn aspell-ku aspell-lt aspell-lv aspell-ml aspell-mr aspell-nl aspell-nr aspell-ns aspell-pa aspell-pl aspell-pt aspell-pt-br aspell-ro aspell-ru aspell-sk aspell-sl aspell-ss aspell-st aspell-sv aspell-tl aspell-tn aspell-ts aspell-uk aspell-uz aspell-xh aspell-zu
|
apt-get install -y aspell aspell-en aspell-af aspell-ar aspell-ar-large aspell-bg aspell-br aspell-ca aspell-cs aspell-cy aspell-da aspell-de aspell-de-alt aspell-el aspell-eo aspell-es aspell-et aspell-eu-es aspell-fa aspell-fo aspell-fr aspell-ga aspell-gl-minimos aspell-hr aspell-hsb aspell-id aspell-it aspell-kk aspell-ku aspell-lt aspell-lv aspell-nl aspell-nr aspell-ns aspell-pa aspell-pl aspell-pt aspell-pt-br aspell-ro aspell-ru aspell-sk aspell-sl aspell-st aspell-sv aspell-tl aspell-tn aspell-ts aspell-xh
|
||||||
|
|
||||||
printf 'Package: aspell-*\nPin: release a=unstable\nPin-Priority: 1337\n' \
|
printf 'Package: aspell-*\nPin: release a=unstable\nPin-Priority: 1337\n' \
|
||||||
> /etc/apt/preferences.d/aspell-from-unstable
|
> /etc/apt/preferences.d/aspell-from-unstable
|
||||||
apt-get install aspell-or aspell-te aspell-no aspell-ta
|
apt-get install aspell-no
|
||||||
|
|
Loading…
Reference in a new issue