Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#11402 - Wrong sed command in gparted PKGBUILD

Attached to Project: Arch Linux
Opened by Kamil Neczaj (kneczaj) - Friday, 05 September 2008, 12:55 GMT
Last edited by Anonymous Submitter - Sunday, 08 February 2009, 12:16 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To James Rayner (iphitus)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
There is a sed command in gparted PKGBUILD, which changes gparted.desktop file in order to execute gparted from gksu.

The sed command in PKGBUILD:
sed -i "s/Exec=gparted/Exec=gksu gparted/g" /usr/share/applications/gparted.desktop

In gparted.desktop there isn't any "Exec=gparted" text, there is "Exec=/usr/sbin/gparted" so the command do nothing.

I purpose to change the sed command to:
sed -i 's/Exec=/Exec=gksu /g' /usr/share/applications/gparted.desktop
The new command will work even if gparted's path is changed.

I've attached a fixed PKGBUILD.
   PKGBUILD (0.8 KiB)
This task depends upon

Closed by  Anonymous Submitter
Sunday, 08 February 2009, 12:16 GMT
Reason for closing:  Won't implement
Comment by Eric Belanger (Snowman) - Sunday, 08 February 2009, 08:23 GMT
Giovanni: feel free to close this if you don't want to readd the sed line.
Comment by Anonymous Submitter - Sunday, 08 February 2009, 12:16 GMT
I don't want to readd the sed line.

Loading...