apt_sources_write
This commit is contained in:
parent
1a05b48cf5
commit
1d86226365
2 changed files with 14 additions and 10 deletions
|
@ -32,6 +32,19 @@ apt_install_target() {
|
|||
done
|
||||
}
|
||||
|
||||
apt_sources_write() {
|
||||
printf "%s" "\
|
||||
deb https://deb.debian.org/debian \
|
||||
${DEBIAN_CODENAME} main non-free-firmware contrib non-free
|
||||
deb https://deb.debian.org/debian \
|
||||
${DEBIAN_CODENAME}-backports main non-free-firmware contrib non-free
|
||||
deb https://deb.debian.org/debian \
|
||||
${DEBIAN_CODENAME}-updates main non-free-firmware contrib non-free
|
||||
deb https://deb.debian.org/debian-security \
|
||||
${DEBIAN_CODENAME}-security main non-free-firmware contrib non-free
|
||||
" >"/etc/apt/sources.list"
|
||||
}
|
||||
|
||||
apt_update() {
|
||||
apt-get \
|
||||
update
|
||||
|
|
|
@ -13,16 +13,7 @@ Dir::Etc::SourceParts \"\";
|
|||
Dpkg::Progress True;
|
||||
" >"/etc/apt/apt.conf.d/apt.conf"
|
||||
# apt / sources
|
||||
printf "%s" "\
|
||||
deb https://deb.debian.org/debian \
|
||||
${DEBIAN_CODENAME} main non-free-firmware contrib non-free
|
||||
deb https://deb.debian.org/debian \
|
||||
${DEBIAN_CODENAME}-backports main non-free-firmware contrib non-free
|
||||
deb https://deb.debian.org/debian \
|
||||
${DEBIAN_CODENAME}-updates main non-free-firmware contrib non-free
|
||||
deb https://deb.debian.org/debian-security \
|
||||
${DEBIAN_CODENAME}-security main non-free-firmware contrib non-free
|
||||
" >"/etc/apt/sources.list"
|
||||
apt_sources_write
|
||||
# bash / rc
|
||||
main_link_bashrc
|
||||
mv .bashrc .bashrc.old
|
||||
|
|
Loading…
Reference in a new issue