mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-13 01:24:11 +02:00
* Moved gen_resources.sh to admin/ dir.
This commit is contained in:
13
admin/gen_resources.sh
Executable file
13
admin/gen_resources.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
echo "<!DOCTYPE RCC><RCC version=\"1.0\"><qresource>"
|
||||
|
||||
datadir="`pwd`/data"
|
||||
|
||||
cd "$datadir"
|
||||
(find -type f | sed 's/^\.\///g') | while read f
|
||||
do
|
||||
ff="${datadir}/$f"
|
||||
echo "<file alias=\"$f\">$ff</file>"
|
||||
done
|
||||
|
||||
echo "</qresource></RCC>"
|
Reference in New Issue
Block a user