diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-04-02 13:25:17 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-04-02 13:25:17 +0200 |
commit | e1f1a5ca1756f6e89bdc8c1bbbd3c13a7e5d7424 (patch) | |
tree | 5ebfb608597eecafe73c9a63c3d3e4f3716c30f2 /common/files/init | |
parent | refactor(common): Move all data files to `./common/files` (diff) | |
download | flake-templates-e1f1a5ca1756f6e89bdc8c1bbbd3c13a7e5d7424.tar.gz flake-templates-e1f1a5ca1756f6e89bdc8c1bbbd3c13a7e5d7424.zip |
fix(common/files/init): hack around nix removing the exec permission bit
Diffstat (limited to 'common/files/init')
-rwxr-xr-x | common/files/init | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/files/init b/common/files/init index 1b7c86b..4f108ef 100755 --- a/common/files/init +++ b/common/files/init @@ -81,4 +81,10 @@ while read -r var; do fd . --hidden --type file --exec sed --in-place "s|%\bINIT_$var_name\b|$var_value|" done < "$replacement_file" +# HACK: Re-add the executable permissions to files, which the nix template has somehow +# removed <2024-04-02> +chmod +x scripts/* +chmod +x update.sh +[ -f ./build.sh ] && chmod +x build.sh + # vim: ft=sh |