summaryrefslogtreecommitdiff
path: root/extra/gparted
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gparted')
-rw-r--r--extra/gparted/PKGBUILD9
-rw-r--r--extra/gparted/gparted_polkit6
2 files changed, 8 insertions, 7 deletions
diff --git a/extra/gparted/PKGBUILD b/extra/gparted/PKGBUILD
index 1d84e9d56..0ca2e4f53 100644
--- a/extra/gparted/PKGBUILD
+++ b/extra/gparted/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 185984 2013-05-20 05:43:08Z giovanni $
+# $Id: PKGBUILD 186367 2013-05-26 06:28:56Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Andrew Simmons <andrew.simmons@gmail.com>
# Contributor: György Balló <ballogy@freestart.hu>
pkgname=gparted
pkgver=0.16.1
-pkgrel=4
+pkgrel=5
pkgdesc="A Partition Magic clone, frontend to GNU Parted"
arch=('i686' 'x86_64')
url="http://gparted.sourceforge.net"
@@ -30,7 +30,7 @@ source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgnam
'gparted_polkit')
md5sums=('3f399bff031b5ce14d11a8c346f4b89c'
'122ed3120c846376bead22b25f6a3b19'
- '9b70450ef7d17c282e9185e5869a4cec')
+ '0b68a4e2bc6bc15440730ebe2d7bf9f6')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -51,5 +51,6 @@ package() {
"${pkgdir}/usr/share/polkit-1/actions/org.archlinux.pkexec.gparted.policy"
# Install launcher script
- install -m755 "${srcdir}/gparted_polkit" "${pkgdir}/usr/bin/gparted_polkit"
+ install -m755 "${srcdir}/gparted_polkit" \
+ "${pkgdir}/usr/bin/gparted_polkit"
}
diff --git a/extra/gparted/gparted_polkit b/extra/gparted/gparted_polkit
index ebf9b13a3..d9f94d1bd 100644
--- a/extra/gparted/gparted_polkit
+++ b/extra/gparted/gparted_polkit
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/bash
if [ $(which pkexec) ]; then
- pkexec --disable-internal-agent "/usr/bin/gparted" "$@"
+ pkexec --disable-internal-agent "/usr/bin/gparted" "$@"
else
- /usr/bin/gparted "$@"
+ /usr/bin/gparted "$@"
fi