diff options
author | Stuart Cardall <developer@it-offshore.co.uk> | 2018-08-30 18:32:38 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-09-04 10:32:48 +0000 |
commit | a6caef63909ff1fc535a9c3a236cd50ba0e612b1 (patch) | |
tree | 45c5426dcf57a84b0cc3471d4f2eca6674a70c91 /community/psad/01-disable-init-install.patch | |
parent | d8592b9b65622a5d32ed53b843843dc82751b1ff (diff) | |
download | aports-a6caef63909ff1fc535a9c3a236cd50ba0e612b1.tar.bz2 aports-a6caef63909ff1fc535a9c3a236cd50ba0e612b1.tar.xz |
community/psad: use patches not sed in APKBUILD
* fixes https://github.com/alpinelinux/aports/pull/4964#pullrequestreview-151034227
Diffstat (limited to 'community/psad/01-disable-init-install.patch')
-rw-r--r-- | community/psad/01-disable-init-install.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/community/psad/01-disable-init-install.patch b/community/psad/01-disable-init-install.patch new file mode 100644 index 0000000000..8942ef92c7 --- /dev/null +++ b/community/psad/01-disable-init-install.patch @@ -0,0 +1,22 @@ +--- psad-2.4.6/install.pl ++++ psad-2.4.6/install.new +@@ -780,19 +780,6 @@ + } + } + +- if ($init_dir and &is_root()) { +- &logr("[+] Copying $init_file -> ${init_dir}/$init_name\n"); +- copy $init_file, "${init_dir}/$init_name" or die "[*] Could not copy ", +- "$init_file -> ${init_dir}/$init_name: $!"; +- if ($is_systemd) { +- &perms_ownership("${init_dir}/$init_name", 0644); +- } else { +- &perms_ownership("${init_dir}/$init_name", 0744); +- } +- &enable_psad_at_boot($distro); +- $installed_init_script = 1; +- } +- + &logr("\n========================================================\n"); + if ($archived_old) { + &logr("[+] Copies of your original configs have been made " . |