diff --git a/distro-build/fedora.sh b/distro-build/fedora.sh index 8e7180d2a..bca692042 100644 --- a/distro-build/fedora.sh +++ b/distro-build/fedora.sh @@ -51,7 +51,7 @@ write_plugin() { distro_setup() { ${TAB}# Fix environment variables on login or su. ${TAB}run_proot_cmd authselect opt-out - ${TAB}echo "session required pam_env.so readenv=1" | run_proot_cmd tee -a /etc/pam.d/system-auth >/dev/null + ${TAB}echo "session required pam_env.so readenv=1" >> ./etc/pam.d/system-auth } EOF } diff --git a/distro-plugins/fedora.sh b/distro-plugins/fedora.sh index d65fc38aa..728d821cb 100644 --- a/distro-plugins/fedora.sh +++ b/distro-plugins/fedora.sh @@ -12,5 +12,5 @@ TARBALL_SHA256['x86_64']="167732ad9389523ca88ca9fdba470413322be15b3110845fa865e1 distro_setup() { # Fix environment variables on login or su. run_proot_cmd authselect opt-out - echo "session required pam_env.so readenv=1" | run_proot_cmd tee -a /etc/pam.d/system-auth >/dev/null + echo "session required pam_env.so readenv=1" >> ./etc/pam.d/system-auth }