Debian Codegraph @

.github/actions/pkginstall/install-apt.sh

raw symbols SCIP
1 #!/bin/bash -x
2
3 # If called without arguments, just skip the rest
4 if [[ -z "$@" ]]; then
5 exit
6 fi
7
8 # Don't care about these bits
9 echo 'path-exclude=/usr/share/doc/*' > /etc/dpkg/dpkg.cfg.d/99-exclude-cruft
10 echo 'path-exclude=/usr/share/locale/*' >> /etc/dpkg/dpkg.cfg.d/99-exclude-cruft
11 echo 'path-exclude=/usr/share/man/*' >> /etc/dpkg/dpkg.cfg.d/99-exclude-cruft
12
13 apt-get update
14 apt-get install -yq --no-install-suggests --no-install-recommends $@