Re: [arch-general] Howto - tell pacman -S (-U) to overwrite existing file in filesystem?

2011-02-20 Thread Gaetan Bisson
[2011-02-21 07:35:21 +] Magnus Therning: > I'm just curious, which part of the install script is run *before* > pacman checks for conflicting files? None. -- Gaetan pgpaUtq29wEzD.pgp Description: PGP signature

Re: [arch-general] Howto - tell pacman -S (-U) to overwrite existing file in filesystem?

2011-02-20 Thread Magnus Therning
On Mon, Feb 21, 2011 at 12:49:06AM +0100, Gaetan Bisson wrote: > [2011-02-20 17:28:17 -0600] David C. Rankin: > > From your answers, I don't think you read my question before giving the > > the > > RTFM dismissal. > > I read (and answered) the question that is the subject of this thread. > > T

Re: [arch-general] Trinity Binaries - Unofficial Repo - Thank You Kainting Chen!

2011-02-20 Thread Figue
David C. Rankin escribió: All, Kaiting Chen has provided server space for Trinity binaries. Currently I have the i686 files uploaded and will upload x86_64 shortly (after my kids are done with toontown) The url for the i686 repo is: http://www.kiwilight.com/~drankinatty/trinity/i686/

Re: [arch-general] Howto - tell pacman -S (-U) to overwrite existing file in filesystem?

2011-02-20 Thread Gaetan Bisson
[2011-02-20 17:28:17 -0600] David C. Rankin: > From your answers, I don't think you read my question before giving the the > RTFM dismissal. I read (and answered) the question that is the subject of this thread. The lengthy details of how you got to ask yourself this question don't interest me

Re: [arch-general] Howto - tell pacman -S (-U) to overwrite existing file in filesystem?

2011-02-20 Thread Isaac Dupree
On 02/20/11 18:28, David C. Rankin wrote: The question is "Can I do something in the PKGBUILD to tell pacman - if the file is already there -> overwrite it?" Please don't. Put it in your release notes instead. Don't silently overwrite user-written files! You might look into configuration

Re: [arch-general] Howto - tell pacman -S (-U) to overwrite existing file in filesystem?

2011-02-20 Thread Allan McRae
On 21/02/11 07:32, David C. Rankin wrote: I get that. The question is "Can I do something in the PKGBUILD to tell pacman - if the file is already there -> overwrite it?" The purpose for the question is make sure nobody else gets a conflict if they have followed a prior manual Trinity kdm in

Re: [arch-general] [signoff] kernel26-2.6.37.1-1

2011-02-20 Thread David C. Rankin
On 02/20/2011 01:19 AM, Tobias Powalowski wrote: > Hi guys, > - bump to latest version > > greetings > tpowa signoff - both -- David C. Rankin, J.D.,P.E.

Re: [arch-general] Howto - tell pacman -S (-U) to overwrite existing file in filesystem?

2011-02-20 Thread David C. Rankin
On 02/20/2011 04:15 PM, Gaetan Bisson wrote: > [2011-02-20 15:32:14 -0600] David C. Rankin: >> The question is "Can I do something in the PKGBUILD to tell pacman >> - if the file is already there -> overwrite it?" > > Please. This mailing list is not for people to read you man pages. > > Next tim

Re: [arch-general] Howto - tell pacman -S (-U) to overwrite existing file in filesystem?

2011-02-20 Thread Sebastian Rust
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 20.02.2011 22:32, David C. Rankin wrote: > > Guys, > > This is a curiosity really. I updated kdebase to create a trinity.desktop file > in /etc/X11/sessions in the PKGBUILD package() function: > > # install desktop and update kdmrc and Xsession > [

[arch-general] Howto - tell pacman -S (-U) to overwrite existing file in filesystem?

2011-02-20 Thread David C. Rankin
Guys, This is a curiosity really. I updated kdebase to create a trinity.desktop file in /etc/X11/sessions in the PKGBUILD package() function: # install desktop and update kdmrc and Xsession [[ -f trinity.desktop ]] && { mkdir -p ${pkgdir}/etc/X11/sessions cp trinity.desktop ${pkgdi

Re: [arch-general] makechrootpkg and multiple sources, a bug?

2011-02-20 Thread Magnus Therning
On Sun, Feb 20, 2011 at 07:06:51PM +0200, Ionuț Bîru wrote: > On 02/20/2011 07:04 PM, Magnus Therning wrote: > > The source array is modified based on files in the dir holding the > PKGBUILD, like this: > > if [[ -f my.patch ]]; then > sources=(${sources[@] my.patch) > fi

Re: [arch-general] makechrootpkg and multiple sources, a bug?

2011-02-20 Thread Ionuț Bîru
On 02/20/2011 07:04 PM, Magnus Therning wrote: The source array is modified based on files in the dir holding the PKGBUILD, like this: if [[ -f my.patch ]]; then sources=(${sources[@] my.patch) fi I modified the little build script used by makechrootpkg (/chrootbuild) to export SRCDEST, but t

Re: [arch-general] makechrootpkg and multiple sources, a bug?

2011-02-20 Thread Magnus Therning
On Sun, Feb 20, 2011 at 08:54:28PM +1000, Allan McRae wrote: > On 20/02/11 20:35, Allan McRae wrote: > >On 20/02/11 20:19, Magnus Therning wrote: > >>On Sun, Feb 20, 2011 at 08:09:16PM +1000, Allan McRae wrote: > >>>On 20/02/11 20:05, Magnus Therning wrote: > On Sun, Feb 20, 2011 at 07:55:10PM

Re: [arch-general] who wants to write me a relatively simple webapp?

2011-02-20 Thread Dieter Plaetinck
On Sat, 19 Feb 2011 23:58:23 +0100 Tom Willemsen wrote: > > well I think it would be best to have a table that shows for each value of > > each criterion, the last succesful state (if known) > > > > so, for example: > > > > criterion last known state > > Arch: > > - i686 OK on 201

Re: [arch-general] makechrootpkg and multiple sources, a bug?

2011-02-20 Thread Allan McRae
On 20/02/11 20:35, Allan McRae wrote: On 20/02/11 20:19, Magnus Therning wrote: On Sun, Feb 20, 2011 at 08:09:16PM +1000, Allan McRae wrote: On 20/02/11 20:05, Magnus Therning wrote: On Sun, Feb 20, 2011 at 07:55:10PM +1000, Allan McRae wrote: On 20/02/11 19:36, Magnus Therning wrote: I just

Re: [arch-general] makechrootpkg and multiple sources, a bug?

2011-02-20 Thread Allan McRae
On 20/02/11 20:19, Magnus Therning wrote: On Sun, Feb 20, 2011 at 08:09:16PM +1000, Allan McRae wrote: On 20/02/11 20:05, Magnus Therning wrote: On Sun, Feb 20, 2011 at 07:55:10PM +1000, Allan McRae wrote: On 20/02/11 19:36, Magnus Therning wrote: I just tried building a package with more tha

Re: [arch-general] makechrootpkg and multiple sources, a bug?

2011-02-20 Thread Magnus Therning
On Sun, Feb 20, 2011 at 08:09:16PM +1000, Allan McRae wrote: > On 20/02/11 20:05, Magnus Therning wrote: > >On Sun, Feb 20, 2011 at 07:55:10PM +1000, Allan McRae wrote: > >>On 20/02/11 19:36, Magnus Therning wrote: > >>>I just tried building a package with more than one source file using > >>>makec

Re: [arch-general] makechrootpkg and multiple sources, a bug?

2011-02-20 Thread Allan McRae
On 20/02/11 20:05, Magnus Therning wrote: On Sun, Feb 20, 2011 at 07:55:10PM +1000, Allan McRae wrote: On 20/02/11 19:36, Magnus Therning wrote: I just tried building a package with more than one source file using makechrootpkg. It failed with this message: ==> ERROR: Integrity checks (m

Re: [arch-general] makechrootpkg and multiple sources, a bug?

2011-02-20 Thread Magnus Therning
On Sun, Feb 20, 2011 at 07:55:10PM +1000, Allan McRae wrote: > On 20/02/11 19:36, Magnus Therning wrote: > >I just tried building a package with more than one source file using > >makechrootpkg. It failed with this message: > > > > ==> ERROR: Integrity checks (md5) differ in size from the sourc

Re: [arch-general] makechrootpkg and multiple sources, a bug?

2011-02-20 Thread Allan McRae
On 20/02/11 19:36, Magnus Therning wrote: I just tried building a package with more than one source file using makechrootpkg. It failed with this message: ==> ERROR: Integrity checks (md5) differ in size from the source array. That is an error from makepkg. Allan

[arch-general] makechrootpkg and multiple sources, a bug?

2011-02-20 Thread Magnus Therning
I just tried building a package with more than one source file using makechrootpkg. It failed with this message: ==> ERROR: Integrity checks (md5) differ in size from the source array. After a bit of poking around in the makechrootpkg script I made the following change: --- makechrootpkg.orig