mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-10-05 04:57: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/
|
||||
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/
|
||||
# Enables progress bar and colours for apt/dpkg, which are helpful at
|
||||
# times when guesstimating when will things happen
|
||||
echo 'Dpkg::Progress-Fancy "1";' > /etc/apt/apt.conf.d/99progressbar
|
||||
echo 'APT::Color "1";' > /etc/apt/apt.conf.d/99color
|
||||
fi
|
||||
|
||||
# Workarounds for Debian binary names
|
||||
# nodejs -> node was traditionally an eternity issue for me
|
||||
|
Loading…
x
Reference in New Issue
Block a user