ccollect:0.6.2->0.7.0
[nslu2-linux/optware.git] / sources / torrentflux / postinst
blobb744d5c0e498ac1fbeeda7724d0c758622239609
1 #!/bin/sh
3 if [ -f /opt/var/torrentflux/db/torrentflux.db ] ; then
4 echo "Old TorrentFlux database found, you will need to manually"
5 echo "create a new database or upgrade the current one."
6 echo "Please read /opt/doc/torrentflux/README.Optware."
7 else
8 echo "Creating TorrentFlux database with sqlite"
9 sqlite /opt/var/torrentflux/db/torrentflux.db < /opt/doc/torrentflux/sqlite_torrentflux.sql