#!/bin/sh
## creates all needed tar archives
scriptdir=`/usr/bin/dirname $0`
cd $scriptdir
# Music Dir
tar -zcf Music.tar.gz 000_mpd/ Music/
#START OF NOT NEEDED EVERY TIME
# binary mpc
#tar -zcf mpc.tar.gz mpc
# mpd Dir
#tar -zcf mpd.tar.gz mpd/
#rm -r mpd
#rm mpc
#END OF NOT NEEDED EVERY TIME
rm -r Music
rm -r 000_mpd
#removing some dummy files
rm manifest.echo.xml
rm modding_card.txt
rm man_mpc.txt
#->installation manifest
mv manifest.bac.xml manifest.xml
rm 000_prepare_installation.sh