ffsend/pkg/deb/prerm
2021-08-25 21:54:57 +00:00

9 lines
231 B
Bash
Executable file

#!/usr/bin/env bash
# Unlink the ffs alias if it links to ffsend
if [[ -L /usr/bin/ffs ]] \
&& [[ $(realpath /usr/bin/ffs) == "/usr/bin/ffsend" ]]; \
then
echo "Removing ffs alias for ffsend..."
unlink /usr/bin/ffs
fi