xdrm-framework/uninstall.sh

14 lines
258 B
Bash
Raw Normal View History

2016-12-07 11:22:49 +00:00
#!/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;