File: updatebase.DEBIAN

package info (click to toggle)
fai 6.5.6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,076 kB
  • sloc: sh: 6,720; perl: 5,622; makefile: 138
file content (9 lines) | stat: -rwxr-xr-x 241 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
#! /bin/bash

if [ -n "$APTPROXY" ]; then
    echo "Acquire::http::Proxy \"$APTPROXY\";" > $target/etc/apt/apt.conf.d/02proxy
else
    rm -f $target/etc/apt/apt.conf.d/02proxy
fi

echo force-unsafe-io > $target/etc/dpkg/dpkg.cfg.d/unsafe-io