blob: 299716664c44d471e037b5014096e4b9a205a35f (
plain) (
tree)
|
|
#!/bin/ash
ERR=0
SRCDIR=/usr/lib/cups/backend
DESTDIR=/opt/openslx/cups/backend
PRINTPWGUI=/opt/openslx/cups/printpwgui
if [ ! -d "$DESTDIR" ]; then
mkdir -p "$DESTDIR" || exit 1
fi
mv -n "$SRCDIR"/* "$DESTDIR"
cd "$SRCDIR"
for i in "$DESTDIR"/*; do
ln -s "$PRINTPWGUI" $(basename "$i")
done
exit 0
|