PortValhalla/scripts/Debian/Software/logo-ls/install.sh

15 lines
394 B
Bash
Raw Normal View History

#!/bin/bash
# Elevate script
if [ ! "$UID" -eq 0 ]
then
pushd "${BASH_SOURCE%/*}" > /dev/null;
sudo bash "$BASH_SOURCE" "$USER";
. "../../../Common/Config/logo-ls/install.sh";
popd > /dev/null;
2022-11-13 00:11:32 +00:00
else
2023-01-23 15:11:51 +00:00
package="$(mktemp)";
wget https://github.com/Yash-Handa/logo-ls/releases/download/v1.3.7/logo-ls_amd64.deb -O "$package";
dpkg -i "$package";
rm -f "$package";
2022-11-13 00:11:32 +00:00
fi