Changeset ee66747


Ignore:
Timestamp:
Sep 17, 2012 8:33:03 PM (8 years ago)
Author:
meeh <meeh@…>
Branches:
master
Children:
f16e83f
Parents:
ccb8483
Message:

Fix after review and install on fresh osx (lession learned: test clean installs)

Location:
installer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • installer/install.xml

    rccb8483 ree66747  
    188188                <args><arg value="$INSTALL_PATH/Start I2P Router.app" /></args></executable>
    189189            <executable targetfile="$INSTALL_PATH/installer/delete.jar" type="jar" stage="postinstall" keep="true" failure="warn"> <os family="windows" />
    190                 <args><arg value="$INSTALL_PATH/net.i2p.router.plist" /></args></executable>
     190                <args><arg value="$INSTALL_PATH/net.i2p.router.plist.template" /></args></executable>
    191191            <executable targetfile="$INSTALL_PATH/installer/delete.jar" type="jar" stage="postinstall" keep="true" failure="warn"> <os family="windows" />
    192192                <args><arg value="$INSTALL_PATH/install_i2p_service_osx.command" /></args></executable>
  • installer/resources/install_i2p_service_osx.command

    rccb8483 ree66747  
    66cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
    77shfile="tmp$$.sh"
    8 echo -n 'cat `pwd`/net.i2p.router.plist |' > `pwd`/$shfile
     8echo -n 'cat `pwd`/net.i2p.router.plist.template |' > `pwd`/$shfile
    99echo -n "sed 's#USERNAME#`whoami`#' " >> `pwd`/$shfile
    1010echo -n '| sed "s#COMMAND#`pwd`/i2prouter#" | sed "s#I2PPATH#`pwd`/#" > /Library/LaunchDaemons/net.i2p.router.plist' >> `pwd`/$shfile
Note: See TracChangeset for help on using the changeset viewer.