local-bin/globalink.sh

7 lines
275 B
Bash
Executable File

#!/bin/sh
# Link some stuff to /usr/local/bin for ease of access with menus
if [ "$EUID" -ne 0 ]; then echo "Please run as root"; exit; fi
ln -s $(pwd)/apsalar/global/jellyfinmediaplayer /usr/local/bin/jellyfinmediaplayer
ln -s $(pwd)/apsalar/spotify /usr/local/bin/spotify