diff options
| author | Ophestra <cat@gensokyo.uk> | 2024-12-25 23:37:15 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2024-12-25 23:37:15 +0900 |
| commit | b52b1a5f9072d29d4cf2941a82305d4dac1a5abf (patch) | |
| tree | 428303a74496f40a54dad0cce4741b9f658ccdd5 /dist | |
| parent | 9fc82d67b70b8ca9268c599b4bd4e947d2214f9a (diff) | |
dist/install: do not replace existing fsurc
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'dist')
| -rwxr-xr-x | dist/install.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dist/install.sh b/dist/install.sh index 71b00d07..c8149a2f 100755 --- a/dist/install.sh +++ b/dist/install.sh @@ -7,4 +7,6 @@ install -vDm0755 "bin/finit" "${FORTIFY_INSTALL_PREFIX}/usr/libexec/fortify/fini install -vDm0755 "bin/fuserdb" "${FORTIFY_INSTALL_PREFIX}/usr/libexec/fortify/fuserdb" install -vDm6511 "bin/fsu" "${FORTIFY_INSTALL_PREFIX}/usr/bin/fsu" -install -vDm0400 "fsurc.default" "${FORTIFY_INSTALL_PREFIX}/etc/fsurc" +if [ ! -f "${FORTIFY_INSTALL_PREFIX}/etc/fsurc" ]; then + install -vDm0400 "fsurc.default" "${FORTIFY_INSTALL_PREFIX}/etc/fsurc" +fi |
