Add Script to fix MIME types

Sadly, neither git nor any other CVS I know of properly tracks mime or any other extended file atribute
This means I have to resort to some hacks to get the proper mime types assigned, like this script.
master
Pascal Abresch 8 months ago
parent e4c810b6a0
commit bcbd3fc835
  1. 16
      FixMime

@ -0,0 +1,16 @@
#!sh
#adjust the next line... not sure how to figure this out from a shellscript, sorry :)
cd ~/proj/poppy-client-loeve
if test $? -eq 1; then
alert --stop "cant figure out where this script is" "Ill adjust it!"
exit
fi
for i in lua/*.lua; do
addattr -t mime BEOS:TYPE text/x-source-code $i;
done
for i in server/*.lua; do
addattr -t mime BEOS:TYPE text/x-source-code $i;
done
Loading…
Cancel
Save