diff options
author | 2003-12-22 07:54:12 +0000 | |
---|---|---|
committer | 2003-12-22 07:54:12 +0000 | |
commit | 5f956572bf62035ef970b1e6a1163448b45bb6a0 (patch) | |
tree | ea3b4141f92f75dc971f5f23260b8554457bfd1d /app-misc/bins/files | |
parent | fix bug 30436 (diff) | |
download | gentoo-2-5f956572bf62035ef970b1e6a1163448b45bb6a0.tar.gz gentoo-2-5f956572bf62035ef970b1e6a1163448b45bb6a0.tar.bz2 gentoo-2-5f956572bf62035ef970b1e6a1163448b45bb6a0.zip |
fix bug 30436
Diffstat (limited to 'app-misc/bins/files')
-rw-r--r-- | app-misc/bins/files/bins-1.1.23-install.patch | 74 | ||||
-rw-r--r-- | app-misc/bins/files/digest-bins-1.1.23-r1 | 1 |
2 files changed, 75 insertions, 0 deletions
diff --git a/app-misc/bins/files/bins-1.1.23-install.patch b/app-misc/bins/files/bins-1.1.23-install.patch new file mode 100644 index 000000000000..8d9cc6eb06ee --- /dev/null +++ b/app-misc/bins/files/bins-1.1.23-install.patch @@ -0,0 +1,74 @@ +--- install.sh.orig 2003-12-21 23:44:07.361074109 -0800 ++++ install.sh 2003-12-21 23:48:53.443159629 -0800 +@@ -20,11 +20,12 @@ + PREFIX="${PREFIX:-/usr/local}" + RC="${RC:-/etc/bins}" + ++SHARE="${PREFIX}/share" + DESTDIR=`echo "$DESTDIR"|sed 's%/$%%'` + PREFIX=$DESTDIR/`echo "$PREFIX"|sed 's%^/%%'` + PREFIX=`echo "$PREFIX"|sed 's%/$%%'` +-RC=$DESTDIR/`echo "$RC"|sed 's%^/%%'` +-RC=`echo "$RC"|sed 's%/$%%'` ++DESTRC=$DESTDIR/`echo "$RC"|sed 's%^/%%'` ++DESTRC=`echo "$DESTRC"|sed 's%/$%%'` + + BIN="$PREFIX/bin" + SHARE="$PREFIX/share" +@@ -54,7 +55,7 @@ + Press Enter to go on or Crtl-C to stop now... + !EoF + +-read dummy ++#read dummy + + install_binaries() + { +@@ -79,31 +80,31 @@ + + install_config() + { +- mkdir -p $RC 2>/dev/null || true +- if [ -w $RC ]; then ++ mkdir -p $DESTRC 2>/dev/null || true ++ if [ -w $DESTRC ]; then + echo "Installing configuration file in $RC" +- cp binsrc $RC ++ cp binsrc $DESTRC + echo "Installing default HTML templates in $RC/templates.default" +- if [ ! -d $RC/templates.default ] ; then +- mkdir $RC/templates.default ++ if [ ! -d $DESTRC/templates.default ] ; then ++ mkdir $DESTRC/templates.default + fi +- cp templates/*.html $RC/templates.default ++ cp templates/*.html $DESTRC/templates.default + echo "Installing joi HTML templates in $RC/templates.joi" +- if [ ! -d $RC/templates.joi ] ; then +- mkdir $RC/templates.joi ++ if [ ! -d $DESTRC/templates.joi ] ; then ++ mkdir $DESTRC/templates.joi + fi +- cp templates.joi/*.html $RC/templates.joi +- cp -R templates.joi/static $RC/templates.joi ++ cp templates.joi/*.html $DESTRC/templates.joi ++ cp -R templates.joi/static $DESTRC/templates.joi + echo "Installing satyap HTML templates in $RC/templates.satyap" +- if [ ! -d $RC/templates.satyap ] ; then +- mkdir $RC/templates.satyap ++ if [ ! -d $DESTRC/templates.satyap ] ; then ++ mkdir $DESTRC/templates.satyap + fi +- cp templates.satyap/*.html $RC/templates.satyap +- cp -R templates.satyap/static $RC/templates.satyap +- chmod -R a+r $RC/* ++ cp templates.satyap/*.html $DESTRC/templates.satyap ++ cp -R templates.satyap/static $DESTRC/templates.satyap ++ chmod -R a+r $DESTRC/* + return 0 + else +- echo "Cannot write to $RC." ++ echo "Cannot write to $DESTRC." + return 1 + fi + } diff --git a/app-misc/bins/files/digest-bins-1.1.23-r1 b/app-misc/bins/files/digest-bins-1.1.23-r1 new file mode 100644 index 000000000000..f7be7cac9e15 --- /dev/null +++ b/app-misc/bins/files/digest-bins-1.1.23-r1 @@ -0,0 +1 @@ +MD5 88f53fab3140140bc9953d0ad2ec3801 bins-1.1.23.tar.gz 213803 |