When I'm creating a directory using Rox right-click function, the preferences shows it as inode/directory, inode/directory.
The RoxApp directories shows up as ROX Application, inode/directory.
How can I create a directory that shows up as ROX Application, inode/directory using a bash script?
Is there a command to create a directory of type ROX Application?
Edit:
Ok, this one is solved.
Somehow Bash is acting different to ROX when creating directories. I remembered my RoxApp Builder that creates already RoxApp directories from within a Bash script.
So this code:
Code: Select all
#!/bin/sh
APPDIR="`dirname "$0"`"
mkdir -p $APPDIR/cde-package
cp -af /usr/local/apps/abiword/.DirIcon $APPDIR/cde-package/
echo '<?xml version="1.0"?>
<AppInfo>
<Summary>Abiword text editor</Summary>
</AppInfo>
' > $APPDIR/cde-package/AppInfo.xml
echo '#!/bin/bash -a
#------------------------------------------------------------------------------
' > $APPDIR/cde-package/AppRun
chmod 755 $APPDIR/cde-package/AppRun
However: solved!