docker/pixelfed/root/usr/bin/pixelfed
2020-02-14 19:07:56 -06:00

10 lines
116 B
Bash
Executable file

#!/usr/bin/env bash
COMMAND=pixelfed-$1
if which $COMMAND; then
$COMMAND "${@:2}"
else
pixelfed-run "${@:1}"
fi