File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed
Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
33FROMMAIL=
" Compose Tracker <[email protected] >" 44git clone https://git.rockylinux.org/rocky/pungi-rocky.git -b r10s /etc/pungi-lh-10
55rm -rf /etc/pungi-lh-10
6- pushd /etc/pungi-lh-10/scripts || { echo " Pungi directory not found" ; exit ; }
6+ pushd /etc/pungi-lh-10/scripts/compose || { echo " Pungi directory not found" ; exit ; }
77git pull
88ret_val=$?
99if [ " $ret_val " -ne 0 ]; then
Original file line number Diff line number Diff line change 22PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
33FROMMAIL=
" Compose Tracker <[email protected] >" 44rm -rf /etc/pungi-prod-10
5- pushd /etc/pungi-prod-10/scripts || { echo " Pungi directory not found" ; exit ; }
5+ pushd /etc/pungi-prod-10/scripts/compose || { echo " Pungi directory not found" ; exit ; }
66git pull
77ret_val=$?
88if [ " $ret_val " -ne 0 ]; then
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ pushd /mnt/koji/compose/10/
4+
5+ SRCS=$( find . -maxdepth 1 -type d -mtime +7 | grep -vE ' SIG-|Rocky-10.[0-9]+-20[2-3][0-9]' | sort)
6+
7+ printf " The following will be deleted\n"
8+ for x in $SRCS ; do echo ${x} ; done
9+
10+ rm -rf ${SRCS}
You can’t perform that action at this time.
0 commit comments