mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-12 05:37:04 +00:00
7ec8dd87ac
from a launchpad-buildd-like setup, which passes ARCH and SUBARCH in the environment, because auto/config and auto/build both rely on this. So don't scatter dpkg --print-architecture calls throughout, especially when many of these are not cross-build-aware.
12 lines
194 B
Bash
Executable File
12 lines
194 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
dpkg-divert --quiet --add --divert /bin/sync.REAL --rename /bin/sync
|
|
cat > /bin/sync <<'EOF'
|
|
#! /bin/sh
|
|
echo "$0: diverted by livecd-rootfs" >&2
|
|
exit 0
|
|
EOF
|
|
|
|
chmod +x /bin/sync
|