fix: Fix flatpak module errors

This commit is contained in:
Gerald Pinder 2024-04-28 18:14:43 -04:00
parent 76d32bc23a
commit 0b5e7599f8
3 changed files with 41 additions and 13 deletions

View file

@ -21,12 +21,12 @@ title_case() {
echo $(tr '[:lower:]' '[:upper:]' <<< ${1:0:1})${1:1}
}
module=$1
params=$2
module="$1"
params="$2"
script_path="/tmp/modules/${module}/${module}.sh"
print_banner "Start $(title_case ${module}) Module"
chmod +x ${script_path}
${script_path} ${params}
${script_path} "${params}"
print_banner "End $(title_case ${module}) Module"
ostree container commit