if [ -z "$SILENT" ]; then
echo "$BASENAME: purging all packages $mtime_message for:"
- echo -e "\t- arch $ARCH and version $VERSION $and_patches"
- echo -e "\t- noarch folder"
+ echo -e "\t- Arch $ARCH and version $VERSION $and_patches"
+ echo -e "\t- Noarch folder"
fi
for repos_type in $which; do
# then search for the package in the repositories
search="`simplaret_search $1 --formatted`"
- search_results="`echo $search | bc -l`"
+ search_results="`echo "$search" | wc -l`"
for result in $search; do
if [ "$SIMPLARET_DOWNLOAD_FROM_NEXT_REPO" != "1" ]; then
return 1
else
+ if [ "$2" != "--silent" ]; then
+ echo Trying to fetch $candidate from the next repository...
+ fi
if (($search_results <= 0)); then
return 1
fi
+./etc;0;0;755
+./etc/apache;0;0;755
+./etc/apache/httpd.conf;0;0;644
+./etc/apache/php.ini;0;0;644
+./etc/apache/vhosts;0;0;644
+./etc/logrotate.d;0;0;755
+./etc/logrotate.d/apache;0;0;644
+./etc/rc.d;0;0;755
+./etc/rc.d/rc.httpd;0;0;644
+./etc/rc.d/rc;0;0;755
+./etc/rc.d/rc.0;0;0;755
+./etc/rc.d/rc.4;0;0;644
+./etc/rc.d/rc.6;0;0;755
+./etc/rc.d/rc.K;0;0;755
+./etc/rc.d/rc.M;0;0;755
+./etc/rc.d/rc.S;0;0;755
+./etc/rc.d/rc.ip_forward;0;0;644
+./etc/rc.d/rc.inet2;0;0;755
+./etc/rc.d/rc.inetd;0;0;644
+./etc/rc.d/rc.mysqld;0;0;644
+./etc/rc.d/rc.local;0;0;755
+./etc/rc.d/rc.postfix;0;0;644
+./etc/rc.d/rc.sendmail;0;0;644
+./etc/rc.d/rc.serial;0;0;755
+./etc/rc.d/rc.sshd;0;0;755
+./etc/rc.d/rc.syslog;0;0;755
+./etc/rc.d/rc.sysvinit;0;0;755
+./etc/ssh;0;0;755
+./etc/ssh/sshd_config;0;0;644
+./etc/rssh.conf;0;0;644
+./etc/hosts;0;0;644
+./etc/profile;0;0;644
+./var;0;0;755
+./var/www;0;0;755
+./var/www/htdocs;0;0;755
+./var/www/htdocs/missing.html;0;0;644
+./var/www/missing.html;0;0;644