source: Slackware/i2p/doinst.sh @ c4870021

Last change on this file since c4870021 was c4870021, checked in by sponge <sponge@…>, 11 years ago

SlackBuild?!

  • Property mode set to 100644
File size: 676 bytes
RevLine 
[c4870021]1#!/bin/sh
2
3INST_DIR=directory
4
5( cd install
6
7echo
8for i in *.config ; {
9        if [ -f $INST_DIR/$i ] ; then
10                echo "Please check $i, as there is a new version."
11                cp $i $INST_DIR/$i.new
12        else
13                cp $i $INST_DIR/$i
14        fi
15}
16
17)
18echo
19echo "FINISHING I2P INSTALLATION. PLEASE WAIT."
20
21cd $INST_DIR
22sh postinstall.sh || (
23  echo "ERROR: failed execution of postinstall.sh. Please"
24  echo "cd into i2p installation directory and run "
25  echo "postinstall.sh manually with ./postinstall.sh"
26  echo "It is also reccomended to set router.blocklist.enable=true "
27  echo "in the router.config file."
28  exit 1
29)
30
31sleep 10
32
33sh i2prouter stop || exit 1
34
35echo
36echo "Installation finished."
37echo
38
39exit
Note: See TracBrowser for help on using the repository browser.