updates
This commit is contained in:
parent
5c85f3d57b
commit
f103636071
19
020-Fancy_Apt.sh
Normal file
19
020-Fancy_Apt.sh
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
## Script Location
|
||||||
|
SCRIPTDIR=$(dirname $0)
|
||||||
|
source "$SCRIPTDIR/common/colors.sh"
|
||||||
|
source "$SCRIPTDIR/common/functions.sh"
|
||||||
|
source "$SCRIPTDIR/common/load-defaults.sh"
|
||||||
|
|
||||||
|
# Fix fancy progress bar for apt-get
|
||||||
|
# https://askubuntu.com/a/754653
|
||||||
|
if [ -d /etc/apt/apt.conf.d ]
|
||||||
|
then
|
||||||
|
if ! [ -f /etc/apt/apt.conf.d/99progressbar ]
|
||||||
|
then
|
||||||
|
echo 'Dpkg::Progress-Fancy "1";' > /etc/apt/apt.conf.d/99progressbar
|
||||||
|
echo 'APT::Color "1";' >> /etc/apt/apt.conf.d/99progressbar
|
||||||
|
chmod 644 /etc/apt/apt.conf.d/99progressbar
|
||||||
|
fi
|
||||||
|
fi
|
||||||
17
021-IPv4_Apt.sh
Normal file
17
021-IPv4_Apt.sh
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
## Script Location
|
||||||
|
SCRIPTDIR=$(dirname $0)
|
||||||
|
source "$SCRIPTDIR/common/colors.sh"
|
||||||
|
source "$SCRIPTDIR/common/functions.sh"
|
||||||
|
source "$SCRIPTDIR/common/load-defaults.sh"
|
||||||
|
|
||||||
|
# Prefer IPv4 for apt
|
||||||
|
if [ -d /etc/apt/apt.conf.d ]
|
||||||
|
then
|
||||||
|
if ! [ -f /etc/apt/apt.conf.d/99force-ipv4 ]
|
||||||
|
then
|
||||||
|
echo 'Acquire::ForceIPv4 "true";' >> /etc/apt/apt.conf.d/99force-ipv4
|
||||||
|
chmod 644 /etc/apt/apt.conf.d/99force-ipv4
|
||||||
|
fi
|
||||||
|
fi
|
||||||
1
dependencies/fastfetch.dep
vendored
Normal file
1
dependencies/fastfetch.dep
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
fastfetch
|
||||||
1
dependencies/neofetch.dep
vendored
1
dependencies/neofetch.dep
vendored
@ -1 +0,0 @@
|
|||||||
neofetch
|
|
||||||
@ -1,2 +1,2 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
/usr/bin/neofetch
|
$(which fastfetch)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user