summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/gconf/gconfpkg
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra-testing/gconf/gconfpkg')
-rwxr-xr-xabs/extra-testing/gconf/gconfpkg8
1 files changed, 4 insertions, 4 deletions
diff --git a/abs/extra-testing/gconf/gconfpkg b/abs/extra-testing/gconf/gconfpkg
index a1ee6df..72021e4 100755
--- a/abs/extra-testing/gconf/gconfpkg
+++ b/abs/extra-testing/gconf/gconfpkg
@@ -22,14 +22,14 @@ install() {
uninstall() {
if [ -f /usr/share/gconf/schemas/${pkgname}.schemas ]; then
- schemas=(/usr/share/gconf/schemas/${pkgname}.schemas)
+ schemas=/usr/share/gconf/schemas/${pkgname}.schemas
elif [ -f /opt/gnome/share/gconf/schemas/${pkgname}.schemas ]; then
- schemas=(/opt/gnome/share/gconf/schemas/${pkgname}.schemas)
+ schemas=/opt/gnome/share/gconf/schemas/${pkgname}.schemas
else
- schemas=(`pacman -Ql ${pkgname} | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`)
+ schemas=`pacman -Ql ${pkgname} | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`
fi
GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \
- /usr/bin/gconftool-2 --makefile-uninstall-rule ${schemas[@]} >/dev/null
+ /usr/bin/gconftool-2 --makefile-uninstall-rule ${schemas} >/dev/null
}
if [ -z "$2" ]; then