summaryrefslogtreecommitdiff
blob: 0ef4c47f70770118d637f93640adef369a5a9c42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

if [ ! -d "$HOME/.mute" ]; then
	mkdir -p "${HOME}/.mute"
	cp -r /etc/mute/settings "${HOME}/.mute"
	ln -s /etc/mute/languages "${HOME}/.mute"
	mkdir -p "${HOME}/.mute/files"
fi

cd "${HOME}/.mute"
DIR=`dirname $0`
FILE=${0#${DIR}/}

case "${FILE}" in
	"MUTE")
		/usr/share/mute/textFileSharingMUTE $@
		;;
	"wxMUTE")
		/usr/share/mute/fileSharingMUTE $@
		;;
esac