1 --- package/stage 2017-02-25 09:18:34.000000000 +0100
2 +++ package.patched/stage 2017-03-10 16:51:28.653719213 +0100
4 # distributor patchable stuff
6 # Eventually, these will be /usr .
7 -binprefix="/usr/local"
8 -libprefix="/usr/local"
11 # Eventually, these will be /usr/share .
12 -manprefix="/usr/local"
13 -docprefix="/usr/local/share"
14 +manprefix="/usr/share"
15 +docprefix="/usr/share"
16 # Eventually, this will be / .
17 -etcprefix="/usr/local"
19 # Eventually, this will be /usr/share .
20 -prsprefix="/usr/local/etc"
21 +prsprefix="/usr/share"
23 # Set this to blank or unset it if /usr/{s,}bin and /{s,}bin are identical.
27 if test -s package/nosh-"$i".commands8 || test -s package/nosh-"$i".aliases8 ;
29 - install -d -m 0755 "${dest}"/nosh-"${i}"/"${binprefix}"/sbin
30 + install -d -m 0755 "${dest}"/nosh-"${i}"/"${binprefix}"/bin
31 install -d -m 0755 "${dest}"/nosh-"${i}"/"${manprefix}"/man/man8
35 - ln -f -- "${src}"/command/"$j" "${dest}"/nosh-"${i}"/"${binprefix}"/sbin/
36 + ln -f -- "${src}"/command/"$j" "${dest}"/nosh-"${i}"/"${binprefix}"/bin/
37 ln -f -- "${src}"/manual/"$j".8 "${dest}"/nosh-"${i}"/"${manprefix}"/man/man8/
38 done < package/nosh-"$i".commands8 ;
44 - ln -f -s "$c" "${dest}"/nosh-"${i}"/"${binprefix}"/sbin/"$a"
45 + ln -f -s "$c" "${dest}"/nosh-"${i}"/"${binprefix}"/bin/"$a"
46 ln -f -s "$c".8 "${dest}"/nosh-"${i}"/"${manprefix}"/man/man8/"$a".8
47 done < package/nosh-"$i".aliases8 ;
50 install -d -m 0755 "${dest}"/nosh-run-system-manager/
53 - install -d -m 0755 "${dest}"/nosh-run-system-manager/sbin
54 - ln -f -s system-manager "${dest}"/nosh-run-system-manager/sbin/init
55 + install -d -m 0755 "${dest}"/nosh-run-system-manager/usr/bin
56 + ln -f -s system-manager "${dest}"/nosh-run-system-manager/usr/bin/init