File: reset.yml

package info (click to toggle)
boxer-data 10.10.5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,572 kB
  • sloc: makefile: 44; sh: 2
file content (15 lines) | stat: -rw-r--r-- 373 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
classes:
  - Admin.etc.functions
  - Framework.pkg.base
parameters:
  doc:
    framework-pkg:
      tweak:
        - (re)set APT to not use proxy by default
  tweak:
    - >
      file=/target/etc/apt/apt.conf;\
       if [ -e "$file" ] && grep -q 'Acquire::.*::Proxy' "$file"; then \
        _backup "$file";\
        sed -i -e '/Acquire::.*::Proxy/d' "$file";\
       fi