#!/bin/bash

prueba="`which trm`"
prueba2="$KDEDIR"

if [ "$prueba" == "" ]; then
   echo You are missing the MusicBrainz software
   echo Please read the README file before continuing
   exit 1
fi

if [ "$prueba2" == "" ]; then
   echo KDEDIR is missing
   echo Install will be performed to /usr
   KDEDIR=/usr
fi


cp quees "$KDEDIR/bin" || echo You need to be root to install this
cp quees.desktop "$KDEDIR/share/apps/konqueror/servicemenus/"
echo Install on $KDEDIR is finished
