0a313e7621
WWW: http://www.amplifiedmusicservices.com/ PR: ports/144706 Submitted by: Christopher Key <cjk32@cam.ac.uk> Approved by: pgj (mentor)
25 lines
605 B
Bash
25 lines
605 B
Bash
#!/bin/sh
|
|
|
|
if [ "$2" != "POST-DEINSTALL" ]; then
|
|
exit 0
|
|
fi
|
|
|
|
MUSICIPSERVERUSER=%%MUSICIPSERVERUSER%%
|
|
|
|
echo
|
|
echo "============================================================"
|
|
echo
|
|
echo "If you want remove musicipserver permanently from you system"
|
|
echo "execute following commands:"
|
|
echo
|
|
echo " # rm -rf %%MUSICIPSERVERLOGDIR%%"
|
|
echo " # rm -rf %%MUSICIPSERVERRUNDIR%%"
|
|
echo " # rm -rf %%MUSICIPSERVERDBDIR%%"
|
|
if pw usershow "%%MUSICIPSERVERUSER%%" 2>/dev/null 1>&2; then
|
|
echo " # pw userdel %%MUSICIPSERVERUSER%%"
|
|
fi
|
|
echo
|
|
echo "============================================================"
|
|
echo
|
|
|
|
exit 0
|