2 getent group yacy >/dev/null || groupadd -r yacy
3 getent passwd yacy >/dev/null ||useradd -c 'YaCy P2P Searchengine' -r -g yacy -d '/usr/share/yacy/' -s /bin/false yacy
5 chown yacy:yacy /var/lib/yacy
6 rm -f /usr/share/yacy/DATA
7 ln -s /var/lib/yacy /usr/share/yacy/DATA
11 getent passwd yacy &>/dev/null && userdel yacy &>/dev/null
12 getent group yacy &>/dev/null && groupdel yacy &>/dev/null
13 rm -f /usr/share/yacy/DATA
18 echo "-> All configfiles and the cache are in /var/lib/yacy/"
19 echo "-> You may use this for another installation."
20 echo "-> If you don't need it, you should delete it, because"
21 echo "-> it may have grown very large"