You are not logged in.

#1 2006-12-27 06:49:05

once
Member
From: Taiwan
Registered: 2006-09-12
Posts: 267

xinit update problem

maybe it's a bug?

when update xinit, but didn't left xinitrc backup file.

Offline

#2 2006-12-27 15:43:13

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: xinit update problem

# $Id: PKGBUILD,v 1.6 2006/12/26 11:42:35 jgc Exp $
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xorg-xinit
pkgver=1.0.3
pkgrel=1
pkgdesc="X.Org initialisation program "
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
depends=(libx11 xorg-xauth)
source=(${url}/releases/individual/app/xinit-${pkgver}.tar.bz2)
md5sums=('f04a903cc0e18b3c338f58eb90f6caf8')

build() {
  cd ${startdir}/src/xinit-${pkgver}
  ./configure --prefix=/usr
  make XINITDIR=/etc/X11/xinit || return 1
  make XINITDIR=/etc/X11/xinit DESTDIR=${startdir}/pkg install || return 1
}

As you can see, no "backup=('etc/X11/xinit/xinitrc')". There's always ~/.xinitrc for your custom modifications.


1000

Offline

#3 2006-12-27 22:56:01

once
Member
From: Taiwan
Registered: 2006-09-12
Posts: 267

Re: xinit update problem

i don't use kdm or gdm, use startx...
and don't have any .xinitrc in ~/, result is after update xinit it clean /etc/X11/xinit/xinitrc by default.

Offline

#4 2006-12-28 03:50:58

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: xinit update problem

Yes, that's right. If you don't have ~/.xinitrc, create it. 'locate xinitrc' and 'man startx/xinit' should give you enough hints on what belongs into that file, but as you said you even had your own modifications, so it should be pretty clear.


1000

Offline

#5 2006-12-28 16:36:50

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: xinit update problem

You're not supposed to edit the global xinitrc.  However, I think I agree that it should be in backup=() - please log a bug in the bug tracker for that.

FTR: I can see a few situations where a machine's admin may want to change things globally for all users, so you don't want to kill that config on an upgrade.

Offline

Board footer

Powered by FluxBB