File: reset.yml

package info (click to toggle)
boxer-data 10.10.1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 7,548 kB
  • sloc: makefile: 46; sh: 2
file content (19 lines) | stat: -rw-r--r-- 676 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
classes:
  - Framework.pkg.apt.source.functions
parameters:
  doc:
    framework-pkg:
      tweak:
        - (re)set APT sources list to generic defaults
  tweak:
    - >
      file=/target/etc/apt/sources.list;\
       suite="$''{suite:-stable}";\
       components="main$''{nonfree:+ contrib non-free}";\
       _resetaptsrc "$file" http deb.debian.org/debian "$suite" $components;\
       if [ sid != "$suite" ]; then \
         _setaptsrc "$file" http deb.debian.org/debian "$suite"-updates $components;\
       fi;\
       if grep -q ^VERSION= /target/etc/os-release; then \
         _setaptsrc "$file" http security.debian.org/ "$suite"-security $components;\
       fi