1
0
mirror of https://github.com/winfsp/winfsp.git synced 2025-12-27 14:30:25 -06:00
Files
winfsp/opt/cygfuse/dist/uninstall.sh
Bill Zissimopoulos 897a08700b opt: cygfuse: fuse3
2018-07-25 21:15:16 -07:00

14 lines
479 B
Bash

cd "$(dirname "$0")"
case $(uname -m) in
x86_64)
tar -taf x64/fuse-2.*.tar.xz | sed -e '/\/$/d' -e 's/.*/\/&/' | xargs rm -f ;;
tar -taf x64/fuse-3.*.tar.xz | sed -e '/\/$/d' -e 's/.*/\/&/' | xargs rm -f ;;
i686)
tar -taf x86/fuse-2.*.tar.xz | sed -e '/\/$/d' -e 's/.*/\/&/' | xargs rm -f ;;
tar -taf x86/fuse-3.*.tar.xz | sed -e '/\/$/d' -e 's/.*/\/&/' | xargs rm -f ;;
*)
echo unsupported architecture 1>&2
exit 1
esac
echo FUSE for Cygwin uninstalled.