diff --git a/PepDeb32/BldHelper-release.sh b/PepDeb32/BldHelper-release.sh index c890c76..cbe2175 100755 --- a/PepDeb32/BldHelper-release.sh +++ b/PepDeb32/BldHelper-release.sh @@ -58,22 +58,16 @@ mv ${FileName}-sha512.checksum ${LOCATION}/${FileName}-sha512.checksum # touch -t ${_stamp} ${LOCATION} ${LOCATION}/${FileName}* touch ${LOCATION}/${FileName}* -lb clean & - # Move the log file to the log directory. [ ! -e ${LogDir} ] && mkdir -p ${LogDir} mv ${OutFile} ${LogFile} -# Remove old packages from the cache directory -for i in $(grep "Del " ${LogFile} | sort -u | cut -f2,3 -d" " | tr " " "_" | tr ":" "*" | tr "+" "*" ) - do for j in $_cache/packages.*/${i}*.deb - do [ -e $j ] && rm $j - done -done - ### else echo -e "\n\tAfter $_break seconds, ISO never appeared.\n" | tee --append ${OutFile} mv ${OutFile} ${LogFile} fi +rm -r * + +exit 0 diff --git a/PepDeb64/BldHelper-release.sh b/PepDeb64/BldHelper-release.sh index eca8533..75f3d51 100755 --- a/PepDeb64/BldHelper-release.sh +++ b/PepDeb64/BldHelper-release.sh @@ -58,22 +58,16 @@ mv ${FileName}-sha512.checksum ${LOCATION}/${FileName}-sha512.checksum # touch -t ${_stamp} ${LOCATION} ${LOCATION}/${FileName}* touch ${LOCATION}/${FileName}* -lb clean & - # Move the log file to the log directory. [ ! -e ${LogDir} ] && mkdir -p ${LogDir} mv ${OutFile} ${LogFile} -# Remove old packages from the cache directory -for i in $(grep "Del " ${LogFile} | sort -u | cut -f2,3 -d" " | tr " " "_" | tr ":" "*" | tr "+" "*" ) - do for j in $_cache/packages.*/${i}*.deb - do [ -e $j ] && rm $j - done -done - ### else echo -e "\n\tAfter $_break seconds, ISO never appeared.\n" | tee --append ${OutFile} mv ${OutFile} ${LogFile} fi +rm -r * + +exit 0 diff --git a/PepDeb_arm64/BldHelper-release.sh b/PepDeb_arm64/BldHelper-release.sh index 485dd42..cfd9ec0 100755 --- a/PepDeb_arm64/BldHelper-release.sh +++ b/PepDeb_arm64/BldHelper-release.sh @@ -58,22 +58,16 @@ mv ${FileName}-sha512.checksum ${LOCATION}/${FileName}-sha512.checksum # touch -t ${_stamp} ${LOCATION} ${LOCATION}/${FileName}* touch ${LOCATION}/${FileName}* -lb clean & - # Move the log file to the log directory. [ ! -e ${LogDir} ] && mkdir -p ${LogDir} mv ${OutFile} ${LogFile} -# Remove old packages from the cache directory -for i in $(grep "Del " ${LogFile} | sort -u | cut -f2,3 -d" " | tr " " "_" | tr ":" "*" | tr "+" "*" ) - do for j in $_cache/packages.*/${i}*.deb - do [ -e $j ] && rm $j - done -done - ### else echo -e "\n\tAfter $_break seconds, ISO never appeared.\n" | tee --append ${OutFile} mv ${OutFile} ${LogFile} fi +rm -r * + +exit 0 diff --git a/PepDev32/BldHelper-release.sh b/PepDev32/BldHelper-release.sh index d3d0753..a1cc2b9 100755 --- a/PepDev32/BldHelper-release.sh +++ b/PepDev32/BldHelper-release.sh @@ -58,22 +58,16 @@ mv ${FileName}-sha512.checksum ${LOCATION}/${FileName}-sha512.checksum # touch -t ${_stamp} ${LOCATION} ${LOCATION}/${FileName}* touch ${LOCATION}/${FileName}* -lb clean & - # Move the log file to the log directory. [ ! -e ${LogDir} ] && mkdir -p ${LogDir} mv ${OutFile} ${LogFile} -# Remove old packages from the cache directory -for i in $(grep "Del " ${LogFile} | sort -u | cut -f2,3 -d" " | tr " " "_" | tr ":" "*" | tr "+" "*" ) - do for j in $_cache/packages.*/${i}*.deb - do [ -e $j ] && rm $j - done -done - ### else echo -e "\n\tAfter $_break seconds, ISO never appeared.\n" | tee --append ${OutFile} mv ${OutFile} ${LogFile} fi +rm -r * + +exit 0 diff --git a/PepDev64/BldHelper-release.sh b/PepDev64/BldHelper-release.sh index 775116d..15c7f1d 100755 --- a/PepDev64/BldHelper-release.sh +++ b/PepDev64/BldHelper-release.sh @@ -58,22 +58,16 @@ mv ${FileName}-sha512.checksum ${LOCATION}/${FileName}-sha512.checksum # touch -t ${_stamp} ${LOCATION} ${LOCATION}/${FileName}* touch ${LOCATION}/${FileName}* -lb clean & - # Move the log file to the log directory. [ ! -e ${LogDir} ] && mkdir -p ${LogDir} mv ${OutFile} ${LogFile} -# Remove old packages from the cache directory -for i in $(grep "Del " ${LogFile} | sort -u | cut -f2,3 -d" " | tr " " "_" | tr ":" "*" | tr "+" "*" ) - do for j in $_cache/packages.*/${i}*.deb - do [ -e $j ] && rm $j - done -done - ### else echo -e "\n\tAfter $_break seconds, ISO never appeared.\n" | tee --append ${OutFile} mv ${OutFile} ${LogFile} fi +rm -r * + +exit 0 diff --git a/PepDev_arm64/BldHelper-release.sh b/PepDev_arm64/BldHelper-release.sh index e3468e3..675b2d3 100755 --- a/PepDev_arm64/BldHelper-release.sh +++ b/PepDev_arm64/BldHelper-release.sh @@ -58,22 +58,16 @@ mv ${FileName}-sha512.checksum ${LOCATION}/${FileName}-sha512.checksum # touch -t ${_stamp} ${LOCATION} ${LOCATION}/${FileName}* touch ${LOCATION}/${FileName}* -lb clean & - # Move the log file to the log directory. [ ! -e ${LogDir} ] && mkdir -p ${LogDir} mv ${OutFile} ${LogFile} -# Remove old packages from the cache directory -for i in $(grep "Del " ${LogFile} | sort -u | cut -f2,3 -d" " | tr " " "_" | tr ":" "*" | tr "+" "*" ) - do for j in $_cache/packages.*/${i}*.deb - do [ -e $j ] && rm $j - done -done - ### else echo -e "\n\tAfter $_break seconds, ISO never appeared.\n" | tee --append ${OutFile} mv ${OutFile} ${LogFile} fi +rm -r * + +exit 0 \ No newline at end of file