renamed the Changelog files

get the latest version of bsetbg from the blackbox cvs
This commit is contained in:
Dana Jansens 2002-04-16 20:11:00 +00:00
parent 509c88f501
commit 88d43795b1
4 changed files with 22 additions and 7 deletions

View file

@ -51,7 +51,7 @@ error_msg()
echo; echo "$NAME: error: please specify a valid image." echo; echo "$NAME: error: please specify a valid image."
;; ;;
7) 7)
echo; echo "$NAME: error: bsetroot couldn't be found! check your openbox installation." echo; echo "$NAME: error: bsetroot couldn't be found! check your blackbox installation."
;; ;;
8) 8)
echo; echo "$NAME: error: wrong number of arguments!" echo; echo "$NAME: error: wrong number of arguments!"
@ -508,7 +508,7 @@ check_image()
esac esac
esac esac
if [ ! -e "$IMAGE" ]; then if [ ! -f "$IMAGE" ]; then
error_msg $NUM error_msg $NUM
else else
IMAGE_EXISTS=yes IMAGE_EXISTS=yes
@ -596,15 +596,30 @@ debug()
echo echo
} }
create_tempfile() {
if `type tempfile 2>&1 >/dev/null`; then
THETMP=`tempfile --prefix=bsetbg`
elif `type mktemp 2>&1 >/dev/null`; then
THETMP=`mktemp -t bsetbg`
else
THETMP=/tmp/.bsetbg.$$
if [ -f $THETMP ]; then
rm -f $THETMP
fi
touch $THETMP
chmod 600 $THETMP
fi
TMPFILE=$THETMP
}
IMAGE_APPS="display Esetroot wmsetbg xv xli qiv" IMAGE_APPS="display Esetroot wmsetbg xv xli qiv"
CONFIG="$HOME/.bsetbgrc" CONFIG="$HOME/.bsetbgrc"
NAME=bsetbg NAME=bsetbg
VERSION=1.12 VERSION=1.12
MORE="(C) 2000 by lordzork industries (http://lordzork.com/)" MORE="(C) 2000 by lordzork industries (http://lordzork.com/)"
PATH=$PATH:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/X11/bin PATH=$PATH:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/X11/bin
TMPFILE=`tempfile --prefix=bsetbg`
ARGUMENT=$1 ARGUMENT=$1
create_tempfile
case `which grep 2>&1` in */*grep) : ;; case `which grep 2>&1` in */*grep) : ;;
*) *)
@ -663,9 +678,6 @@ case $1 in
*-version|-v|v) *-version|-v|v)
echo; echo " $NAME version $VERSION"; echo " $MORE"; exit 0 echo; echo " $NAME version $VERSION"; echo " $MORE"; exit 0
;; ;;
*-help|-h|h)
help_msg
;;
-r) -r)
case $UID in case $UID in
0) 0)
@ -679,6 +691,9 @@ case $1 in
exit 1 exit 1
esac esac
;; ;;
*-help|-h|h|-?)
help_msg
;;
*) *)
if [ -n "$1" ]; then if [ -n "$1" ]; then
NOARG=yes NOARG=yes