xdrm-framework/uninstall.sh

14 lines
258 B
Bash
Executable File

#!/bin/sh
dst="/usr/local/bin/xfw";
echo "Remove the symlink to $dst ? (y,n)";
read removelink;
echo "\n";
if [ "$removelink" = "y" ]; then
rm $dst && echo "* The command \`xfw\` is no more accessible." || echo "* aborting";
else
echo "* aborting";
fi;