You are not logged in.
I lost mine...
Where can I find the /etc/profile present after base install?
Last edited by Edward E. Edwardson (2013-10-07 16:41:57)
Offline
$ pacman -Qo /etc/profile
/etc/profile is owned by filesystem 2013.05-2
This one's easy. Look up the filesystem package on the website, click "source files" and download "profile". Or reinstall the package, or extract just the one file from the filesystem package that you probably have in your pacman cache.
Last edited by Raynman (2013-10-07 16:18:06)
Offline
Got it.
touch /etc/profile
pacman -Qo /etc/profile
# => /etc/profile is owned by filesystem 2013.05-2
rm /etc/profile
pacman -S filesystem
Offline
Instead of 'touch & pacman -Qo' way, you could use 'pkgfile': https://wiki.archlinux.org/index.php/FA … ge_is_X.3F
The file is available online, as Raynman mentioned: https://projects.archlinux.org/svntogit … filesystem
Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309
Edit: BTW, why don't you back /etc up?
Last edited by karol (2013-10-07 16:33:23)
Offline
Edit: BTW, why don't you back /etc up?
That's what I thought after I deleted the file.
edit:
cd /etc
git init
git add -A .
git ci -m 'BTW, why don\'t you back /etc up?'
Last edited by Edward E. Edwardson (2013-10-07 16:46:56)
Offline