need to be sudo to install template

This commit is contained in:
Jason Mehring 2014-10-20 12:25:31 -04:00
parent 60b7f2fa7a
commit 5d3d538c92

View File

@ -32,9 +32,9 @@ write ""
for file in ${files[@]}; do for file in ${files[@]}; do
write "qvm-run --pass-io development-qubes 'cat ${path}/rpm/noarch/${file}' > ${file}" write "qvm-run --pass-io development-qubes 'cat ${path}/rpm/noarch/${file}' > ${file}"
write "" write ""
write "yum erase $(echo "$file" | sed -r "s/($VERSION).+$//")" write "sudo yum erase $(echo "$file" | sed -r "s/($VERSION).+$//")"
write "" write ""
write "yum install ${file}" write "sudo yum install ${file}"
write "" write ""
write "" write ""
done done