File: post_chroot_unpack_key_setup

package info (click to toggle)
piuparts 1.6.0
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 72,532 kB
  • sloc: python: 8,240; sh: 4,367; makefile: 171
file content (10 lines) | stat: -rwxr-xr-x 372 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

# we rely on gnupg and wget being available,
# make sure to use "--include=gnupg,wget" in your debootstrap cmdline
echo "Setting up https://example.com/internal_key.asc for apt-get usage."
wget -O - 'https://example.com/internal_key.asc' | apt-key add -

echo "Running apt-get update to have a verified and working Debian repository available."
apt-get update