add icon set to Icons dir for icons not present in imagine

This commit is contained in:
Mario Fetka 2013-03-27 13:41:11 +01:00
parent 41cf7050e3
commit 93ac2f3843

View File

@ -27,4 +27,10 @@ function create() {
echo "Create" echo "Create"
builder_create builder_create
cp $INST_DIR/CLIENT_DATA/opsi-${PN}.ini $INST_DIR/CLIENT_DATA/Imagine.ini cp $INST_DIR/CLIENT_DATA/opsi-${PN}.ini $INST_DIR/CLIENT_DATA/Imagine.ini
mkdir $INST_DIR/CLIENT_DATA/X86/Icons
mkdir $INST_DIR/CLIENT_DATA/X86_64/Icons
find $INST_DIR/CLIENT_DATA/ALL/ -type f -iname '*.ico' -exec cp -v {} $INST_DIR/CLIENT_DATA/X86/Icons \;
find $INST_DIR/CLIENT_DATA/ALL/ -type f -iname '*.ico' -exec cp -v {} $INST_DIR/CLIENT_DATA/X86_64/Icons \;
rm -rf $INST_DIR/CLIENT_DATA/ALL/
} }