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

15 lines
394 B
Bash
Executable file

#!/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;
else
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";
fi