elog: actuallly commit all changes

This commit is contained in:
John 2021-03-05 20:18:13 +01:00
parent 596aeaef18
commit c03f846232

View file

@ -3,7 +3,7 @@ pkgname=elog
version=3.1.4.3
revision=1
_distver="${version:0:-2}-${version:(-1)}"
wrksrc="$pkgname-${version%.*}"
wrksrc="$pkgname-${_distver}"
build_style=gnu-makefile
CFLAGS="-Imxml"
make_dirs="/var/lib/elog/logbooks 0750 elog elog"
@ -26,9 +26,9 @@ do_install() {
vcopy resources usr/share/elog
vcopy scripts usr/share/elog
vcopy themes usr/share/elog
sed -i '/\[global\]/s/$/\nLogbook dir = \/var\/lib\/elog\/logbooks/' elogd.cfg
sed -i '/\[global\]/s/$/\nResource dir = \/usr\/share\/elog/' elogd.cfg
sed -i '/\[global\]/s/$/\nLogbook dir = \/var\/lib\/elog\/logbooks/' elogd.cfg.example
sed -i '/\[global\]/s/$/\nResource dir = \/usr\/share\/elog/' elogd.cfg.example
vmkdir etc/elog
vinstall elogd.cfg 0755 etc/elog
vinstall elogd.cfg.example 0755 etc/elog elogd.cfg
vsv elogd
}