Files
Arch-R/packages/sysutils/lcdproc/install
Stephan Raue 5ca1b266eb lcdproc:
- add user and group nobody
- dont install lcdproc bin
- dont use /storage/.config for configfiles (not needed)
2010-04-28 00:20:03 +02:00

21 lines
425 B
Bash
Executable File

#!/bin/sh
. config/options
$SCRIPTS/install libusb
$SCRIPTS/install irserver
PKG_DIR=`find $PACKAGES -type d -name $1`
add_user nobody x 999 999 "Nobody" "/" "/bin/sh"
add_group nobody 999
mkdir -p $INSTALL/usr/sbin
cp $PKG_BUILD/server/LCDd $INSTALL/usr/sbin
mkdir -p $INSTALL/usr/lib/lcdproc
cp $PKG_BUILD/server/drivers/*.so $INSTALL/usr/lib/lcdproc
mkdir -p $INSTALL/etc
cp $PKG_BUILD/LCDd.conf $INSTALL/etc