base-files: provide a default ~/.profile file.

This commit is contained in:
Juan RP 2011-10-06 11:14:59 +02:00
parent 7b3d379633
commit 37cf28ef9e
2 changed files with 8 additions and 2 deletions

View file

@ -0,0 +1,5 @@
# Read /etc/profile
if [ -f /etc/profile ]; then
. /etc/profile
fi

View file

@ -1,6 +1,6 @@
# Template file for 'base-files' # Template file for 'base-files'
pkgname=base-files pkgname=base-files
version=0.51 version=0.52
build_style=custom-install build_style=custom-install
short_desc="Void GNU/Linux base system files" short_desc="Void GNU/Linux base system files"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
@ -18,6 +18,7 @@ conf_files="
/etc/hosts /etc/hosts
/etc/host.conf /etc/host.conf
/etc/securetty /etc/securetty
/etc/skel/.profile
/etc/skel/.bash_profile /etc/skel/.bash_profile
/etc/skel/.bash_logout /etc/skel/.bash_logout
/etc/skel/.bashrc /etc/skel/.bashrc
@ -29,7 +30,7 @@ Add_dependency full xbps-triggers
do_install() do_install()
{ {
# Install misc config files. # Install misc config files.
for f in bash_logout bash_profile bashrc; do for f in bash_logout bash_profile bashrc profile; do
vinstall ${FILESDIR}/dot_${f} 644 etc/skel .${f} vinstall ${FILESDIR}/dot_${f} 644 etc/skel .${f}
done done