summaryrefslogtreecommitdiff
path: root/emerald-themes/themes/import.sh
blob: cc812bf8fbd9472fe3736ac6d232183814671b28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
pushd ${1}${2}
for x in $(ls | grep emerald)
do
       emerald=${x/.emerald/}
       echo ${x}
       mkdir -p ${emerald}
       # Unpack to DESTDIR/datadir/emerald/themes
       tar -xof ${x} -C ${emerald}
       rm -f ${x}
done
popd