1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../zeroinstall/no-fstab-mod.patch
5 # Copyright (C) 2006 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 We can not touch the sandbox fstab - a postinstall script must do this.
19 - Rene Rebe <rene@exactcode.de>
21 --- zero-install-0.1.27/Makefile.in.vanilla 2006-10-21 18:51:51.000000000 +0000
22 +++ zero-install-0.1.27/Makefile.in 2006-10-21 18:52:30.000000000 +0000
24 [ -d /uri/0install ] || mkdir /uri/0install
25 [ -d /var/cache/zero-inst ] || mkdir -m 0755 /var/cache/zero-inst
26 chown "${HELPER_USER}" /var/cache/zero-inst
28 - @echo Updating ${FSTAB}...
29 - echo "lazyfs /uri/0install lazyfs@LAZYFS_VERSION@ /var/cache/zero-inst 0 0" >> ${FSTAB}
31 - @echo Stopping any previous version...
32 - @${initddir}/0install stop 2>/dev/null || echo "(not yet running)"
33 - @[ ! -L /uri/0install/.lazyfs-cache ] || umount -l /uri/0install
36 - grep -v "^lazyfs[ ]*/uri" "${FSTAB}" > "${FSTAB}.new" && \
37 - mv "${FSTAB}.new" "${FSTAB}"
39 0install: 0install.in config.status
40 sed "s:\@zero-install\@:${sbindir}/zero-install:" $(srcdir)/0install.in | \