From 6dfbd4e4a050ec1ba0f7604861ea86f6be9064be Mon Sep 17 00:00:00 2001 From: Ibrahim Mkusa Date: Sat, 10 Aug 2024 19:25:56 -0400 Subject: [PATCH] sudo cat -> sudo tee to properly handle priviledge --- repo/add_repo_from_iso.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/repo/add_repo_from_iso.sh b/repo/add_repo_from_iso.sh index d1b9625..0eb1d3c 100644 --- a/repo/add_repo_from_iso.sh +++ b/repo/add_repo_from_iso.sh @@ -12,7 +12,7 @@ sudo dd if=$if of=$of bs=1M status='progress' # Automount iso contents to repo_location to have available to machine # unquoted delimiter in the here doc allows variable substitution -sudo cat >> /etc/fstab < /etc/yum.repos.d/base.repo < /etc/yum.repos.d/appstream.repo <