Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
libgnomeprint
libgnomeprint-suseconfig.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libgnomeprint-suseconfig.dif of Package libgnomeprint
--- libgnomeprint-2.4.0/SuSEconfig.libgnomeprint +++ libgnomeprint-2.4.0/SuSEconfig.libgnomeprint @@ -0,0 +1,30 @@ +#! /bin/sh +# Copyright (c) 2002 SuSE Gmbh Nuernberg, Germany. All rights reserved. +# +# Author: Holger Hetterich <hhetter@suse.de>, 2002 +# +# check if we are started as root +# only one of UID and USER must be set correctly + +if test "$UID" != 0 -a "$USER" != root; then + echo "You must be root to start $0." + exit 1 +fi + + +test -n "$ROOT" && exit 0 + +test ! -f /var/adm/SuSEconfig/run-libgnomeprint && exit 0 + +if [ -x $r/opt/gnome2/bin/libgnomeprint-2.0-font-install ] ; then + TMPDIR=`mktemp -d /tmp/gnome-home.XXXXXX` + HOME=$TMPDIR \ + /opt/gnome2/bin/libgnomeprint-2.0-font-install \ + --smart 2> /dev/null || true + + rm -fr $TMPDIR + rm -f /var/adm/SuSEconfig/run-libgnomeprint +fi + +exit 0 +
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor