cd
test -f installed/libiec61883-1.1.0.tar.gz &&
mv installed/libiec61883-1.1.0.tar.gz .
test ! -f libiec61883-1.1.0.tar.gz &&
wget http://www.linux1394.org/dl/libiec61883-1.1.0.tar.gz
# If you ever want to uninstall libiec61883, this should do it:
cd
su
test -d src/libiec61883-* && ( cd src/libiec61883-* ; make uninstall )
( cd /usr/local/bin ; rm -f plugreport plugctl )
test -d /usr/local/include/libiec61883 &&
rm -r /usr/local/include/libiec61883
for mandir in /usr/local/man/man1 /usr/local/share/man/man1; do
cd $mandir
test -f plugreport.1 && rm -f plugreport.1
test -f plugctl.1 && rm -f plugctl.1
done
rm -f /usr/local/lib/libiec61883.* /usr/local/lib/pkgconfig/libiec61883.pc
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "libiec61883-*" -exec rm -r {} \;
rm -f ~/installed/libiec61883-*.tar.*