bootstrap: lsd: feat: Remove temp deb file after installation

This commit is contained in:
PorridgePi
2022-09-28 20:04:51 +08:00
parent 589114b86b
commit 0bfdfbffb6

View File

@@ -12,6 +12,7 @@ if ! command -v lsd &> /dev/null; then
mkdir -p ~/.temp
curl -o ~/.temp/lsd.deb "$URL"
sudo dpkg -i ~/.temp/lsd.deb
rm ~/.temp/lsd.deb
else
# Unknown distro
echo 'ERROR: Unknown distro'