File Replace-bin-bash-shebangs-with-bin-sh.patch of Package aaa_base
From 3b28f3522715d6c705e64c45a7bbd98c8e9a3333 Mon Sep 17 00:00:00 2001 From: Bogdan Lezhepekov <blezhepekov@suse.de> Date: Thu, 13 Apr 2023 11:50:43 +0300 Subject: [PATCH] Replace /bin/bash shebangs with /bin/sh Add more flexibility in terms of licensing --- aaa_base.post | 2 +- files/usr/bin/old | 2 +- files/usr/bin/safe-rm | 2 +- files/usr/sbin/refresh_initrd | 2 +- files/usr/sbin/service | 2 +- files/usr/sbin/smart_agetty | 2 +- files/usr/sbin/sysconf_addword | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/aaa_base.post b/aaa_base.post index dc73338..ba648d9 100644 --- a/aaa_base.post +++ b/aaa_base.post @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # # # post.sh - to be done after extraction diff --git a/files/usr/bin/old b/files/usr/bin/old index 5c55aa4..0534f7d 100755 --- a/files/usr/bin/old +++ b/files/usr/bin/old @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # # This script simply renames files or directories to <name>-<date>[<num>] diff --git a/files/usr/bin/safe-rm b/files/usr/bin/safe-rm index ba200fc..d5eb92c 100755 --- a/files/usr/bin/safe-rm +++ b/files/usr/bin/safe-rm @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh todo= opts= diff --git a/files/usr/sbin/refresh_initrd b/files/usr/sbin/refresh_initrd index fd3c518..bf1f28f 100755 --- a/files/usr/sbin/refresh_initrd +++ b/files/usr/sbin/refresh_initrd @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # # Refresh initrd depending on conditions. # Currently only the change of /etc/sysconfig/clock is diff --git a/files/usr/sbin/service b/files/usr/sbin/service index 7e827eb..6d1e895 100755 --- a/files/usr/sbin/service +++ b/files/usr/sbin/service @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # # /sbin/service Handle boot and runlevel services # diff --git a/files/usr/sbin/smart_agetty b/files/usr/sbin/smart_agetty index 4298d82..40d12a4 100755 --- a/files/usr/sbin/smart_agetty +++ b/files/usr/sbin/smart_agetty @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # emulate: /sbin/agetty -L $speed console for console != vga/framebuffer console #echo "$0: called with '$*'" > /dev/kmsg diff --git a/files/usr/sbin/sysconf_addword b/files/usr/sbin/sysconf_addword index cf548b0..757bd14 100755 --- a/files/usr/sbin/sysconf_addword +++ b/files/usr/sbin/sysconf_addword @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # Copyright 2005 Peter Poeml <apache@suse.de>. All Rights Reserved. -- 2.39.2