source: soft/build_system/build_system/upload/robot/trunk/cooclean @ 1

Last change on this file since 1 was 1, checked in by fasma, 12 years ago

Initial Import from Mandriva's soft revision 224062 and package revision 45733

File size: 427 bytes
Line 
1#!/bin/sh
2## Chmouel Boudjnah <chmouel@mandriva.com>
3## Remove the doble of the distribution
4
5DISTRIB=cooker
6[ "`id -u`" = "0" ] || {
7    echo "You must be root or run the script via sudo"
8    echo "Exiting............."
9    exit 1;
10}
11
12for i in /cooker/RPMS /cooker/SRPMS;do
13    cd /$i/
14        ~mandrake/robot/doble *|xargs rm -vf
15done
16
17for i in /cooker/RPMS /cooker/SRPMS;do
18    cd /$i/
19        ~mandrake/robot/doble *|xargs rm -vf
20done
Note: See TracBrowser for help on using the repository browser.