diff options
| author | Petr Mrázek | 2011-03-27 16:06:44 +0200 |
|---|---|---|
| committer | Petr Mrázek | 2011-03-27 16:06:44 +0200 |
| commit | dcfa315acfc348f140b5c75a49015f76b01b3c3a (patch) | |
| tree | 8a20b2242df0ab430dedad727a6a46cbc15eea56 | |
| parent | ad76fd1511785d0cccc43a0643c798b8a37c375a (diff) | |
| download | dfhack-dcfa315acfc348f140b5c75a49015f76b01b3c3a.tar.gz dfhack-dcfa315acfc348f140b5c75a49015f76b01b3c3a.tar.bz2 dfhack-dcfa315acfc348f140b5c75a49015f76b01b3c3a.tar.xz | |
windows 31.24
| -rw-r--r-- | Memory.xml | 5 | ||||
| -rwxr-xr-x | package/ubuntu-10.10/postinst | 10 | ||||
| -rwxr-xr-x | package/ubuntu-10.10/preinst | 3 |
3 files changed, 13 insertions, 5 deletions
@@ -2145,7 +2145,10 @@ BLAH! </Offsets> </Version> - + <Version name="v0.31.24 SDL" os="windows" base="v0.31.23 SDL"> + <PETimeStamp value="0x4D8F39F9" /> + <MD5 value="eddc258fa59c89481516ad96eb51b35b" /> + </Version> .-"""-. ' \ |,. ,-. | _________________________ diff --git a/package/ubuntu-10.10/postinst b/package/ubuntu-10.10/postinst index a628ada3..ed50fde4 100755 --- a/package/ubuntu-10.10/postinst +++ b/package/ubuntu-10.10/postinst @@ -3,5 +3,11 @@ echo "Setting required kernel parameters." # I actually do it three times, hoping to hammer this into Ubuntu's dense skull. sysctl -w kernel.randomize_va_space=0 sysctl -w kernel.yama.ptrace_scope=0 -echo "kernel.randomize_va_space=0" >> /etc/sysctl.conf -echo "kernel.yama.ptrace_scope=0" >> /etc/sysctl.conf
\ No newline at end of file +if grep -q "kernel.yama.ptrace_scope=0" /etc/sysctl.conf +then + echo "Already installed into /etc/sysctl.conf, doing nothing." +else + echo "kernel.randomize_va_space=0" >> /etc/sysctl.conf + echo "kernel.yama.ptrace_scope=0" >> /etc/sysctl.conf +fi + diff --git a/package/ubuntu-10.10/preinst b/package/ubuntu-10.10/preinst index b194ee6c..13f47935 100755 --- a/package/ubuntu-10.10/preinst +++ b/package/ubuntu-10.10/preinst @@ -1,3 +1,2 @@ #!/bin/sh -mkdir -p /usr/share/dfhack/doc -mkdir -p /usr/share/dfhack
\ No newline at end of file + |
