xbps-base-files: reread stuff from /etc/profile.d in .bashrc, bump to 0.40.

This commit is contained in:
Juan RP 2011-02-22 16:14:10 +01:00
parent 044b97df4a
commit c3a872f385
2 changed files with 12 additions and 1 deletions

View file

@ -5,4 +5,15 @@ if [ -f /etc/bashrc ]; then
. /etc/bashrc . /etc/bashrc
fi fi
# Source again stuff in /etc/profile.d in case it hasn't been.
for i in /etc/profile.d/*.sh ; do
if [ -r "$i" ]; then
if [ "$PS1" ]; then
. $i
else
. $i >/dev/null 2>&1
fi
fi
done
# User specific aliases and functions # User specific aliases and functions

View file

@ -1,6 +1,6 @@
# Template file for 'xbps-base-files' # Template file for 'xbps-base-files'
pkgname=xbps-base-files pkgname=xbps-base-files
version=0.39 version=0.40
build_style=custom-install build_style=custom-install
short_desc="XBPS Base System files" short_desc="XBPS Base System files"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"