Admin/Windows/Cygwin/isabelle/postinstall
author wenzelm
Mon, 23 Nov 2015 16:57:01 +0100
changeset 61737 b91b1ebfc8a0
parent 52672 8de4235298cb
child 64386 e936967c2a06
permissions -rwxr-xr-x
bundle main sources read-only, to avoid accidental editing of imported theories etc.;

#!/bin/bash

export PATH=/bin

bash /etc/postinstall/base-files-mketc.sh.done

mkpasswd -l >/etc/passwd
mkgroup -l >/etc/group

find -type d -exec chmod 755 '{}' +
find -type f \( -name '*.exe' -o -name '*.dll' \) -exec chmod 755 '{}' +
find -type f -not -name '*.exe' -not -name '*.dll' -not -name '*.scala' -not -name '*.ML' -not -name '*.thy' -exec chmod 644 '{}' +
find -type f \( -name '*.scala' -o -name '*.ML' -o -name '*.thy' \) -exec chmod 444 '{}' +
xargs -0 < contrib/cygwin/isabelle/executables chmod 755