On 10/4/18 8:17 AM, Brian Monroe wrote:
So what I had been doing was adding:
```
echo "# Citrix File Types" >> /usr/share/misc/magic
echo "20search/50WFClientCitrix Client File" >> /usr/share/misc/magic
echo "!:mimeapplication/x-ica" >> /usr/share/misc/magic
cd /usr/share/misc
file -C -m /usr/share/misc/magic
cd ~/
```
so I recompile the existing magic.mgc

You should not be modifying that file. Any changes you make will get overwritten if you upgrade the package.

```
echo "# Citrix File Types" >> /usr/share/misc/magic
echo "20search/50WFClientCitrix Client File" >> /etc/magic

Did you lose some characters while copying? Don't you need spaces (or tabs) in there?

echo "!:mimeapplication/x-ica" >> /etc/magic
cd /etc/
file -C -m /etc/magic
cd ~/
```

So there would be both a magic and magic.mgc files in etc, neither of which existed by default from a clean F28 minimal install.

# rpm -qf /etc/magic
file-5.33-7.fc28.x86_64

The "file" package is not part of the minimal install, but once you installed it, you should have had that file. It's not necessary to make the /etc/magic.mgc file.

Can you attach a sample ica file or point to where to get one?
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to