[arch-commits] Commit in gparted/trunk (PKGBUILD gparted_polkit)

Giovanni Scafora giovanni at nymeria.archlinux.org
Sun May 26 02:28:47 EDT 2013


    Date: Sunday, May 26, 2013 @ 08:28:46
  Author: giovanni
Revision: 186366

upgpkg: gparted 0.16.1-5

Improved bash coding style of gparted_polkit script

Modified:
  gparted/trunk/PKGBUILD
  gparted/trunk/gparted_polkit

----------------+
 PKGBUILD       |    7 ++++---
 gparted_polkit |    6 +++---
 2 files changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-26 03:47:25 UTC (rev 186365)
+++ PKGBUILD	2013-05-26 06:28:46 UTC (rev 186366)
@@ -5,7 +5,7 @@
 
 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 @@
         'gparted_polkit')
 md5sums=('3f399bff031b5ce14d11a8c346f4b89c'
          '122ed3120c846376bead22b25f6a3b19'
-         '9b70450ef7d17c282e9185e5869a4cec')
+         '0b68a4e2bc6bc15440730ebe2d7bf9f6')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
@@ -51,5 +51,6 @@
                  "${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"
 }

Modified: gparted_polkit
===================================================================
--- gparted_polkit	2013-05-26 03:47:25 UTC (rev 186365)
+++ gparted_polkit	2013-05-26 06:28:46 UTC (rev 186366)
@@ -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



More information about the arch-commits mailing list