base-files: provide a default ~/.profile file.
This commit is contained in:
parent
7b3d379633
commit
37cf28ef9e
5
srcpkgs/base-files/files/dot_profile
Normal file
5
srcpkgs/base-files/files/dot_profile
Normal file
@ -0,0 +1,5 @@
|
||||
# Read /etc/profile
|
||||
|
||||
if [ -f /etc/profile ]; then
|
||||
. /etc/profile
|
||||
fi
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'base-files'
|
||||
pkgname=base-files
|
||||
version=0.51
|
||||
version=0.52
|
||||
build_style=custom-install
|
||||
short_desc="Void GNU/Linux base system files"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
@ -18,6 +18,7 @@ conf_files="
|
||||
/etc/hosts
|
||||
/etc/host.conf
|
||||
/etc/securetty
|
||||
/etc/skel/.profile
|
||||
/etc/skel/.bash_profile
|
||||
/etc/skel/.bash_logout
|
||||
/etc/skel/.bashrc
|
||||
@ -29,7 +30,7 @@ Add_dependency full xbps-triggers
|
||||
do_install()
|
||||
{
|
||||
# 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}
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user