Changeset 69 for nutchez-0.1/debian


Ignore:
Timestamp:
May 27, 2009, 5:01:46 PM (16 years ago)
Author:
waue
Message:

script ok version

Location:
nutchez-0.1/debian
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • nutchez-0.1/debian/nutchez.postinst

    r68 r69  
    99
    1010ln -sf /opt/nutch/bin/nutchez /usr/local/sbin/
     11ln -sf /opt/nutch/bin/nutchez-func.sh /usr/local/sbin/
    1112
    1213setup_hdfsadm_user() {
  • nutchez-0.1/debian/nutchez.postrm

    r68 r69  
    33echo "$1"
    44
    5 if [ "$1" != remove ]
    6 then
     5if [ "$1" != remove ]; then
    76  exit 0
    87fi
    98
    10 rm -rf /tmp/hsperfdata*
    119if [ -e HOME/.nutchez ]; then
    1210  rm -rf $HOME/.nutchez
    1311fi
    14 rm /usr/local/sbin/nutchez*
    1512
     13rm -f /usr/local/sbin/nutchez*
     14
     15rm -rf /tmp/search
     16
  • nutchez-0.1/debian/nutchez.prerm

    r66 r69  
    11#!/bin/sh
    22
    3 /opt/nutch/bin/stop-all.sh
     3#/opt/nutch/bin/stop-all.sh
    44#su -c /opt/nutch/bin/stop-all.sh hdfsadm -
Note: See TracChangeset for help on using the changeset viewer.