|
|
@ -180,6 +180,7 @@ chown -R root:root $PACKAGE_DIRECTORY |
|
|
|
|
|
|
|
|
|
|
|
cp -R resources/customizations $PACKAGE_DIRECTORY/ |
|
|
|
cp -R resources/customizations $PACKAGE_DIRECTORY/ |
|
|
|
cp resources/linux/openboard-ubz.xml $PACKAGE_DIRECTORY/etc/ |
|
|
|
cp resources/linux/openboard-ubz.xml $PACKAGE_DIRECTORY/etc/ |
|
|
|
|
|
|
|
cp resources/linux/application-ubz.png $PACKAGE_DIRECTORY/etc/ |
|
|
|
|
|
|
|
|
|
|
|
if $BUNDLE_QT; then |
|
|
|
if $BUNDLE_QT; then |
|
|
|
cp -R resources/linux/run.sh $PACKAGE_DIRECTORY/ |
|
|
|
cp -R resources/linux/run.sh $PACKAGE_DIRECTORY/ |
|
|
@ -287,6 +288,7 @@ cat > "$BASE_WORKING_DIR/DEBIAN/postinst" << EOF |
|
|
|
xdg-desktop-menu install --novendor /usr/share/applications/${APPLICATION_CODE}.desktop |
|
|
|
xdg-desktop-menu install --novendor /usr/share/applications/${APPLICATION_CODE}.desktop |
|
|
|
xdg-mime install --mode system /$APPLICATION_PATH/$APPLICATION_CODE/etc/openboard-ubz.xml |
|
|
|
xdg-mime install --mode system /$APPLICATION_PATH/$APPLICATION_CODE/etc/openboard-ubz.xml |
|
|
|
xdg-mime default /usr/share/applications/${APPLICATION_CODE}.desktop application/ubz |
|
|
|
xdg-mime default /usr/share/applications/${APPLICATION_CODE}.desktop application/ubz |
|
|
|
|
|
|
|
xdg-icon-resource install --context mimetypes --size 48 /$APPLICATION_PATH/$APPLICATION_CODE/etc/application-ubz.png application-ubz |
|
|
|
|
|
|
|
|
|
|
|
ln -s $SYMLINK_TARGET /usr/bin/$APPLICATION_CODE |
|
|
|
ln -s $SYMLINK_TARGET /usr/bin/$APPLICATION_CODE |
|
|
|
|
|
|
|
|
|
|
@ -400,8 +402,6 @@ echo "MimeType=application/ubz" >> $APPLICATION_SHORTCUT |
|
|
|
echo "Categories=Education;" >> $APPLICATION_SHORTCUT |
|
|
|
echo "Categories=Education;" >> $APPLICATION_SHORTCUT |
|
|
|
cp "resources/images/${APPLICATION_NAME}.png" "$PACKAGE_DIRECTORY/${APPLICATION_NAME}.png" |
|
|
|
cp "resources/images/${APPLICATION_NAME}.png" "$PACKAGE_DIRECTORY/${APPLICATION_NAME}.png" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------- |
|
|
|
# ---------------------------------------------------------------------------- |
|
|
|
# Building the package |
|
|
|
# Building the package |
|
|
|
# ---------------------------------------------------------------------------- |
|
|
|
# ---------------------------------------------------------------------------- |
|
|
|