Changeset 68 for nutchez-0.1/debian
- Timestamp:
- May 22, 2009, 6:36:48 PM (16 years ago)
- Location:
- nutchez-0.1/debian
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
nutchez-0.1/debian/nutchez.postinst
r66 r68 7 7 exit 0 8 8 fi 9 10 ln -sf /opt/nutch/bin/nutchez /usr/local/sbin/ 9 11 10 12 setup_hdfsadm_user() { … … 47 49 } 48 50 show_message() { 51 echo "You can use the instruction : \" nutchez\" to easyly use nutch" 52 echo "Enjoy" 53 } 54 show_old_message() { 49 55 echo "You can quickly start by following ways [in /opt/nutch/ with root privilege]:" 50 56 echo "(1) Modify the urls/urls.txt file with indicate urls, one site one line." -
nutchez-0.1/debian/nutchez.postrm
r67 r68 8 8 fi 9 9 10 setup_hdfsadm_user() { 11 if ! getent passwd hdfsadm >/dev/null; then 12 echo "no account found: 'hdfsadm'." 13 else 14 userdel hdfsadm 15 rm -rf /home/hdfsadm 16 rm -rf /opt/nutch 17 rm -rf /tmp/hadoop* 18 rm -rf /tmp/hsperfdata* 19 rm /usr/local/sbin/nutchez* 20 fi 21 } 10 rm -rf /tmp/hsperfdata* 11 if [ -e HOME/.nutchez ]; then 12 rm -rf $HOME/.nutchez 13 fi 14 rm /usr/local/sbin/nutchez* 22 15 23 setup_hdfsadm_user
Note: See TracChangeset
for help on using the changeset viewer.