* updated maddy (0.7.1 -> 0.8.1), untested
[t2sde.git] / package / contrib / tlp / tlp.conf
blobf02d31eea5473b1987d1ac706575684ea3540cab
1 # --- T2-COPYRIGHT-BEGIN ---
2 # t2/package/*/tlp/tlp.conf
3 # Copyright (C) 2025 The T2 SDE Project
4 # SPDX-License-Identifier: GPL-2.0
5 # --- T2-COPYRIGHT-END ---
7 tlp_postinstall () {
8     local files=$(grep -nr \#\!/bin/sh $(cat /var/adm/flists/tlp | awk -F' ' '{ print("/"$2); }') | grep tlp | cut -d: -f1 | sort -u)
9     sed -i 's/^\#\!\/bin\/sh$/\#\!\/bin\/bash/' ${files}
11 hook_add postflist 5 tlp_postinstall