You are not logged in.

#1 2008-04-26 08:44:13

Misbah
Member
Registered: 2008-02-27
Posts: 218

help me merge profile and profile.pacnew.. over my head

deleted

Last edited by Misbah (2012-02-14 05:05:24)

Offline

#2 2008-04-26 09:06:47

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: help me merge profile and profile.pacnew.. over my head

If you haven't edited /etc/profile manually, then just copy the .pacnew into it - no need to "merge" the changes.

Offline

#3 2008-04-26 09:11:34

Misbah
Member
Registered: 2008-02-27
Posts: 218

Re: help me merge profile and profile.pacnew.. over my head

deleted

Last edited by Misbah (2012-02-14 05:05:34)

Offline

#4 2008-04-26 09:32:33

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: help me merge profile and profile.pacnew.. over my head

$ grep -A2 backup /var/abs/core/filesystem/PKGBUILD
backup=(etc/fstab etc/crypttab etc/group etc/hosts etc/ld.so.conf etc/passwd \
        etc/shadow etc/gshadow etc/resolv.conf etc/motd etc/nsswitch.conf \
        etc/shells etc/host.conf etc/securetty etc/profile etc/issue)

That's why /etc/profile is "protected". Just use the new version.

mv /etc/profile.pacnew /etc/profile

Offline

#5 2008-06-16 14:09:44

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: help me merge profile and profile.pacnew.. over my head

only thing u need concern yourself with in this file is the PATH variable.

From what I know if those are not set correct some programs won't start because they won't know where to look. Because its not in your PATH.

Beyond that, I just overwrote the old profile.

Offline

#6 2008-06-16 14:52:56

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: help me merge profile and profile.pacnew.. over my head

You should just mv the pacnew over profile. And if you need to set a custom $PATH or some other thing, create a profile.d/custom.sh and put it in there instead. (and make it a+x)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#7 2008-06-16 15:03:06

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,392
Website

Re: help me merge profile and profile.pacnew.. over my head

Why are we suddenly giving advise on a thread that has been dead for two months?

Offline

Board footer

Powered by FluxBB