Commit a0ba184a authored by Alessandro Elias's avatar Alessandro Elias
Browse files

No need sudo, since you need to run as a root user.


Signed-off-by: Alessandro Elias's avatarAlessandro Elias <ae11@c3sl.ufpr.br>
parent 13bb5c10
......@@ -37,16 +37,18 @@ SOURCESLISTDEFAULT=${14}
TMP=${15}
PREFIX=$PWD
set -x
source common.sh
#This packages must not appear in the manifest
sudo cp ${TMP}/image/casper/filesystem.manifest ${TMP}/image/casper/filesystem.manifest-desktop
cp ${TMP}/image/casper/filesystem.manifest ${TMP}/image/casper/filesystem.manifest-desktop
IFS_OLD=$IFS
IFS=$'\n'
for package in $(cat ${RMDSKT})
do
sudo sed -i "/${package}/d" ${TMP}/image/casper/filesystem.manifest-desktop
sed -i "/${package}/d" ${TMP}/image/casper/filesystem.manifest-desktop
done
IFS=$IFS_OLD
exit 0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment