mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-23 00:43:00 -05:00
opt: cygfuse: fix install scripts
This commit is contained in:
parent
897a08700b
commit
ec4197d8b7
9
opt/cygfuse/dist/install.sh
vendored
9
opt/cygfuse/dist/install.sh
vendored
@ -1,15 +1,16 @@
|
|||||||
cd "$(dirname "$0")"
|
cd "$(dirname "$0")"
|
||||||
case $(uname -m) in
|
case $(uname -m) in
|
||||||
x86_64)
|
x86_64)
|
||||||
tar -C/ -xaf x64/fuse-2.*.tar.xz
|
tar -C/ -xaf x64/fuse-*.tar.xz
|
||||||
tar -C/ -xaf x64/fuse-3.*.tar.xz
|
tar -C/ -xaf x64/fuse3-*.tar.xz
|
||||||
;;
|
;;
|
||||||
i686)
|
i686)
|
||||||
tar -C/ -xaf x86/fuse-2.*.tar.xz
|
tar -C/ -xaf x86/fuse-*.tar.xz
|
||||||
tar -C/ -xaf x86/fuse-3.*.tar.xz
|
tar -C/ -xaf x86/fuse3-*.tar.xz
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo unsupported architecture 1>&2
|
echo unsupported architecture 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
echo FUSE for Cygwin installed.
|
echo FUSE for Cygwin installed.
|
||||||
|
11
opt/cygfuse/dist/uninstall.sh
vendored
11
opt/cygfuse/dist/uninstall.sh
vendored
@ -1,13 +1,16 @@
|
|||||||
cd "$(dirname "$0")"
|
cd "$(dirname "$0")"
|
||||||
case $(uname -m) in
|
case $(uname -m) in
|
||||||
x86_64)
|
x86_64)
|
||||||
tar -taf x64/fuse-2.*.tar.xz | sed -e '/\/$/d' -e 's/.*/\/&/' | xargs rm -f ;;
|
tar -taf x64/fuse-*.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 ;;
|
tar -taf x64/fuse3-*.tar.xz | sed -e '/\/$/d' -e 's/.*/\/&/' | xargs rm -f
|
||||||
|
;;
|
||||||
i686)
|
i686)
|
||||||
tar -taf x86/fuse-2.*.tar.xz | sed -e '/\/$/d' -e 's/.*/\/&/' | xargs rm -f ;;
|
tar -taf x86/fuse-*.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 ;;
|
tar -taf x86/fuse3-*.tar.xz | sed -e '/\/$/d' -e 's/.*/\/&/' | xargs rm -f
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo unsupported architecture 1>&2
|
echo unsupported architecture 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
echo FUSE for Cygwin uninstalled.
|
echo FUSE for Cygwin uninstalled.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user