docker/pixelfed/pixelfed

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