mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
screen: use example config files by default; switch socketdir to /run.
This commit is contained in:
parent
e4cd54b6c6
commit
f6550e01d3
2 changed files with 6 additions and 27 deletions
|
@ -1,21 +0,0 @@
|
||||||
#
|
|
||||||
# This script will advise the user to use the example configuration
|
|
||||||
# files included with the package.
|
|
||||||
#
|
|
||||||
case "${ACTION}" in
|
|
||||||
pre)
|
|
||||||
;;
|
|
||||||
post)
|
|
||||||
cat << _EOF
|
|
||||||
=====================================================================
|
|
||||||
|
|
||||||
- Optional example configuration files have been copied to:
|
|
||||||
/usr/share/examples/screen/
|
|
||||||
|
|
||||||
- Copy screenrc to /home/your_user_name/.screenrc for user config
|
|
||||||
- Copy etcscreenrc to /etc/screenrc for system config
|
|
||||||
|
|
||||||
=====================================================================
|
|
||||||
_EOF
|
|
||||||
;;
|
|
||||||
esac
|
|
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'screen'
|
# Template file for 'screen'
|
||||||
pkgname=screen
|
pkgname=screen
|
||||||
version=4.0.3
|
version=4.0.3
|
||||||
revision=6
|
revision=7
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-sys-screenrc=/etc/screenrc -enable-pam --enable-colors256
|
configure_args="--with-sys-screenrc=/etc/screenrc -enable-pam --enable-colors256
|
||||||
--enable-locale"
|
--enable-locale -with-socket-dir=/run/screens --with-pty-group=5"
|
||||||
makedepends="pam-devel ncurses-devel"
|
makedepends="pam-devel ncurses-devel"
|
||||||
short_desc="The GNU screen utility"
|
short_desc="The GNU screen utility"
|
||||||
maintainer="davehome <davehome@redthumb.info.tm>"
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
||||||
|
@ -32,13 +32,13 @@ long_desc="
|
||||||
from the users terminal."
|
from the users terminal."
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall etc/screenrc 0644 usr/share/examples/screen
|
vinstall etc/screenrc 0644 etc
|
||||||
vinstall etc/etcscreenrc 0644 usr/share/examples/screen
|
vinstall etc/etcscreenrc 0644 etc/.skel .screenrc
|
||||||
}
|
}
|
||||||
|
|
||||||
screen_package() {
|
screen_package() {
|
||||||
|
conf_files="/etc/screenrc /etc/skel/.screenrc"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove etc
|
vmove all
|
||||||
vmove usr
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue