Changeset 05537ba


Ignore:
Timestamp:
Mar 11, 2012 11:54:02 PM (8 years ago)
Author:
sponge <sponge@…>
Branches:
master
Children:
d29da55
Parents:
703f28e
Message:

Slackware package script updates

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Slackware/i2p/doinst.sh

    r703f28e r05537ba  
    88for i in *.config ; {
    99        if [ -f $INST_DIR/$i ] ; then
    10                 echo "Please check ${INST_DIR}${i}, as there is a new version."
     10                echo "Please check ${INST_DIR}${i}, as there is new version."
    1111                cp $i $INST_DIR/$i.new
    1212        else
     
    2727( cd $INST_DIR/eepsite
    2828        if [ -f jetty.xml ] ; then
    29                 rm jetty.xml.new
     29                echo "Please check ${INST_DIR}/eepsite, as there are new files."
    3030        else
    31                 mv jetty.xml.new jetty.xml
     31                find $PKG/$INSTALL_DIR/i2p -name "*.xml.new" -exec sh -c 'mv "$0" "${0/.new}"' {} \;
    3232        fi
    3333)
  • Slackware/i2p/i2p.SlackBuild

    r703f28e r05537ba  
    1919
    2020BUILD=1sponge
     21# INSTALL_DIR is referenced from /, don't prefix it with a '/'
    2122INSTALL_DIR=opt
    2223NAME=i2p
     
    105106# i2prouter %INSTALL_PATH and %SYSTEM_java_io_tmpdir
    106107sed "s|%INSTALL_PATH|/$INSTALL_DIR/i2p|g" i2prouter > a
    107 sed "s|%SYSTEM_java_io_tmpdir|/$INSTALL_DIR/i2p|g" a > i2prouter
     108rm i2prouter
     109mv a i2prouter
     110sed "s|%SYSTEM_java_io_tmpdir|/$INSTALL_DIR/i2p|g" i2prouter > a
     111sed "s|#ALLOW_ROOT=true|ALLOW_ROOT=true|g" a > i2prouter
    108112
    109113chmod 744 ./i2prouter
     
    117121mv $PKG/$INSTALL_DIR/i2p/*.config $PKG/install
    118122mv $PKG/$INSTALL_DIR/i2p/blocklist.txt $PKG/$INSTALL_DIR/i2p/blocklist.txt.new
    119 mv $PKG/$INSTALL_DIR/i2p/eepsite/jetty.xml $PKG/$INSTALL_DIR/i2p/eepsite/jetty.xml.new
     123find $PKG/$INSTALL_DIR/i2p -name "*.xml" -exec mv {} {}.new \;
    120124mv $PKG/$INSTALL_DIR/i2p/eepsite/docroot/index.html $PKG/$INSTALL_DIR/i2p/eepsite/docroot/index.html.new
    121125mv $PKG/$INSTALL_DIR/i2p/eepsite/docroot/favicon.ico $PKG/$INSTALL_DIR/i2p/eepsite/docroot/favicon.ico.new
  • history.txt

    r703f28e r05537ba  
     12012-03-11 sponge
     2  * Slackware package script updates
     3
    142012-03-11 zzz
    25  * Build:
Note: See TracChangeset for help on using the changeset viewer.