mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-10-05 13:07:21 +02:00
install: stop being lazy with existence of apt
This commit is contained in:
parent
85ab7d75af
commit
4b5838d4ae
4
install
4
install
@ -222,12 +222,14 @@ if [ "$(id -u)" == "0" ]; then
|
|||||||
cp -v etc/xdg/autostart/easyeffects-service.desktop /etc/xdg/autostart/
|
cp -v etc/xdg/autostart/easyeffects-service.desktop /etc/xdg/autostart/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Enables laziness on checking whether or not apt is installed
|
# If apt is installed, enable progress bar and colors
|
||||||
|
if hash apt-get 2> /dev/null; then
|
||||||
mkdir -vp /etc/apt/apt.conf.d/
|
mkdir -vp /etc/apt/apt.conf.d/
|
||||||
# Enables progress bar and colours for apt/dpkg, which are helpful at
|
# Enables progress bar and colours for apt/dpkg, which are helpful at
|
||||||
# times when guesstimating when will things happen
|
# times when guesstimating when will things happen
|
||||||
echo 'Dpkg::Progress-Fancy "1";' > /etc/apt/apt.conf.d/99progressbar
|
echo 'Dpkg::Progress-Fancy "1";' > /etc/apt/apt.conf.d/99progressbar
|
||||||
echo 'APT::Color "1";' > /etc/apt/apt.conf.d/99color
|
echo 'APT::Color "1";' > /etc/apt/apt.conf.d/99color
|
||||||
|
fi
|
||||||
|
|
||||||
# Workarounds for Debian binary names
|
# Workarounds for Debian binary names
|
||||||
# nodejs -> node was traditionally an eternity issue for me
|
# nodejs -> node was traditionally an eternity issue for me
|
||||||
|
Loading…
x
Reference in New Issue
Block a user