tidler/scripts/universal/install.sh

13 lines
216 B
Bash
Executable file

#!/bin/sh
if [ "$EUID" -ne 0 ]; then
echo "Please run script as root"
exit 1
else
if [ ! -f /bin/tidler ]; then
install -m 755 ../../src/tidler /bin/tidler
else
echo "TiDLer is already installed"
fi
fi