From 445932fed263be995152c02ec739dde13d3c32fd Mon Sep 17 00:00:00 2001 From: masato9000 Date: Mon, 17 Apr 2017 23:22:31 -0700 Subject: [PATCH] gvfs: fix bashism in gvfs-* action scripts (#6205) --- .../gvfs/patches/gvfs-deprecated_remove_bashism.patch | 11 +++++++++++ srcpkgs/gvfs/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/gvfs/patches/gvfs-deprecated_remove_bashism.patch diff --git a/srcpkgs/gvfs/patches/gvfs-deprecated_remove_bashism.patch b/srcpkgs/gvfs/patches/gvfs-deprecated_remove_bashism.patch new file mode 100644 index 00000000000..e3bea33c86f --- /dev/null +++ b/srcpkgs/gvfs/patches/gvfs-deprecated_remove_bashism.patch @@ -0,0 +1,11 @@ +--- programs/deprecated.in 2017-04-17 14:01:00.783094604 -0700 ++++ programs/deprecated.in 2017-04-17 14:02:43.644606806 -0700 +@@ -7,7 +7,7 @@ + >&2 echo "See '$help' for more info." + >&2 echo + +-if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then ++if [ "$1" = "--help" ] || [ "$1" = "-h" ]; then + exec $help "$@:2" + else + exec $replacement "$@" diff --git a/srcpkgs/gvfs/template b/srcpkgs/gvfs/template index d26c342e9c8..d652f15a346 100644 --- a/srcpkgs/gvfs/template +++ b/srcpkgs/gvfs/template @@ -1,7 +1,7 @@ # Template file for 'gvfs' pkgname=gvfs version=1.32.1 -revision=1 +revision=2 build_style=gnu-configure configure_args="--disable-hal --disable-libsystemd-login --with-bash-completion-dir=/usr/share/bash-completion/completions