base-files: added some common dirs to /etc/profile.
This commit is contained in:
parent
fa0a094962
commit
a59f5dd92a
2 changed files with 15 additions and 20 deletions
|
@ -25,9 +25,12 @@ if [ "$EUID" = "0" ]; then
|
||||||
pathmunge /usr/sbin
|
pathmunge /usr/sbin
|
||||||
pathmunge /usr/local/sbin
|
pathmunge /usr/local/sbin
|
||||||
else
|
else
|
||||||
|
pathmunge /usr/local/bin after
|
||||||
pathmunge /usr/local/sbin after
|
pathmunge /usr/local/sbin after
|
||||||
pathmunge /usr/sbin after
|
pathmunge /usr/sbin after
|
||||||
pathmunge /sbin after
|
pathmunge /sbin after
|
||||||
|
pathmunge /opt/bin after
|
||||||
|
pathmunge /opt/sbin after
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# No core files by default
|
# No core files by default
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'base-files'
|
# Template file for 'base-files'
|
||||||
pkgname=base-files
|
pkgname=base-files
|
||||||
version=0.46
|
version=0.47
|
||||||
build_style=custom-install
|
build_style=custom-install
|
||||||
short_desc="Vanilla GNU/Linux base system files"
|
short_desc="Vanilla GNU/Linux base system files"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="https://vanilla.github.com/"
|
homepage="https://vanilla.github.com/"
|
||||||
license="public domain"
|
license="Public domain"
|
||||||
long_desc="
|
long_desc="
|
||||||
This package installs the base system files that aren't installed by any
|
This package installs the base system files that aren't installed by any
|
||||||
other package and are required on any GNU/Linux system."
|
other package and are required on any GNU/Linux system."
|
||||||
|
@ -29,33 +29,25 @@ 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; do
|
||||||
install -D -m644 ${FILESDIR}/dot_${f} ${DESTDIR}/etc/skel/.${f}
|
vinstall ${FILESDIR}/dot_${f} 644 etc/skel/.${f}
|
||||||
done
|
done
|
||||||
|
|
||||||
install -m644 ${FILESDIR}/profile ${DESTDIR}/etc
|
vinstall ${FILESDIR}/securetty 600 etc
|
||||||
install -m600 ${FILESDIR}/securetty ${DESTDIR}/etc
|
for f in profile hosts host.conf issue lsb-release; do
|
||||||
install -m644 ${FILESDIR}/hosts ${DESTDIR}/etc
|
vinstall ${FILESDIR}/${f} 644 etc
|
||||||
install -m644 ${FILESDIR}/host.conf ${DESTDIR}/etc
|
done
|
||||||
install -m644 ${FILESDIR}/issue ${DESTDIR}/etc
|
vmkdir etc/profile.d
|
||||||
install -m644 ${FILESDIR}/lsb-release ${DESTDIR}/etc
|
|
||||||
|
|
||||||
install -d ${DESTDIR}/etc/profile.d
|
|
||||||
install -m644 ${FILESDIR}/*.sh ${DESTDIR}/etc/profile.d
|
install -m644 ${FILESDIR}/*.sh ${DESTDIR}/etc/profile.d
|
||||||
install -m644 ${FILESDIR}/DIR_COLORS* ${DESTDIR}/etc
|
install -m644 ${FILESDIR}/DIR_COLORS* ${DESTDIR}/etc
|
||||||
|
|
||||||
install -d ${DESTDIR}/etc/modprobe.d
|
vinstall ${FILESDIR}/usb-load-ehci-first 644 etc/modprobe.d \
|
||||||
install -m644 ${FILESDIR}/usb-load-ehci-first \
|
usb-load-ehci-first.conf
|
||||||
${DESTDIR}/etc/modprobe.d/usb-load-ehci-first.conf
|
vinstall ${FILESDIR}/blacklist.conf 644 etc/modprobe.d
|
||||||
install -m644 ${FILESDIR}/blacklist.conf ${DESTDIR}/etc/modprobe.d
|
|
||||||
|
|
||||||
#
|
|
||||||
# Install comman licenses, from Debian.
|
# Install comman licenses, from Debian.
|
||||||
#
|
vmkdir usr/share/licenses
|
||||||
install -d ${DESTDIR}/usr/share/licenses
|
|
||||||
install -m644 ${FILESDIR}/licenses/* ${DESTDIR}/usr/share/licenses
|
install -m644 ${FILESDIR}/licenses/* ${DESTDIR}/usr/share/licenses
|
||||||
|
|
||||||
# vkpurge
|
# vkpurge
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue