diff options
| author | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2026-05-24 15:40:32 +0000 |
|---|---|---|
| committer | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2026-05-24 15:40:32 +0000 |
| commit | dea2a1fa20fc8e843cd85e5920a67b9054d00b2e (patch) | |
| tree | f331ff92dc5fd26f5803b483a24a0a21fd9bb97a /repos/extra/iptables/use-sh-iptables-apply.patch | |
| parent | ef5bfeb93345a5a681d88e99775622bf28defd8d (diff) | |
| download | alicelinux-dea2a1fa20fc8e843cd85e5920a67b9054d00b2e.tar.gz alicelinux-dea2a1fa20fc8e843cd85e5920a67b9054d00b2e.zip | |
Woodpecker CI ef5bfeb93345a5a681d88e99775622bf28defd8d [SKIP CI]
Diffstat (limited to 'repos/extra/iptables/use-sh-iptables-apply.patch')
| -rw-r--r-- | repos/extra/iptables/use-sh-iptables-apply.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/repos/extra/iptables/use-sh-iptables-apply.patch b/repos/extra/iptables/use-sh-iptables-apply.patch deleted file mode 100644 index b31fc948..00000000 --- a/repos/extra/iptables/use-sh-iptables-apply.patch +++ /dev/null @@ -1,39 +0,0 @@ -From: Simon Frankenberger <simon-alpine@fraho.eu> - -make iptables-apply use posix sh - ---- a/iptables/iptables-apply -+++ b/iptables/iptables-apply -@@ -1,4 +1,4 @@ --#!/bin/bash -+#!/bin/sh - # iptables-apply -- a safer way to update iptables remotely - # - # Usage: -@@ -110,7 +110,7 @@ - } - - function checkcommands() { -- for cmd in "${COMMANDS[@]}"; do -+ for cmd in ${COMMANDS}; do - if ! command -v "$cmd" >/dev/null; then - echo "Error: needed command not found: $cmd" >&2 - exit 127 -@@ -184,7 +184,7 @@ - fi - - # Needed commands -- COMMANDS=(mktemp "$SAVE" "$RESTORE" "$RUNCMD") -+ COMMANDS="mktemp $SAVE $RESTORE $RUNCMD" - checkcommands - ;; - (*) -@@ -196,7 +196,7 @@ - fi - - # Needed commands -- COMMANDS=(mktemp "$SAVE" "$RESTORE") -+ COMMANDS="mktemp $SAVE $RESTORE" - checkcommands - ;; - esac |