Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
RPM Tools
(view source)
Revision as of 00:32, 17 June 2015
68 bytes added
,
00:32, 17 June 2015
→srpm-import
Line 594:
Line 594:
#test if all arguments are here
#test if all arguments are here
−
if [[ -z $3 ]]; then
+
<nowiki>
if [[ -z $3 ]]; then
</nowiki>
echo "########################################################################################################"
echo "########################################################################################################"
echo " you must give arguments : srpm-import Folder_Name Branch_Name(smeX|contribsX) Url_2_Remote_Srpm"
echo " you must give arguments : srpm-import Folder_Name Branch_Name(smeX|contribsX) Url_2_Remote_Srpm"
Line 602:
Line 602:
#we test the branchname
#we test the branchname
−
if [[ $2 != "sme"* && $2 != "contribs"* ]];then
+
<nowiki>
if [[ $2 != "sme"* && $2 != "contribs"* ]];then
</nowiki>
echo ""
echo ""
echo "the branchname name is not good, must be smeX or contribsX"
echo "the branchname name is not good, must be smeX or contribsX"
Line 618:
Line 618:
#test root cvs folder
#test root cvs folder
−
if [[ -d $1 ]]; then
+
<nowiki>
if [[ -d $1 ]]; then
</nowiki>
echo "the source folder $1 already exists"
echo "the source folder $1 already exists"
fi
fi
Line 628:
Line 628:
#test the branch name
#test the branch name
−
if [[ -d $2 ]];then
+
<nowiki>
if [[ -d $2 ]];then
</nowiki>
echo ""
echo ""
echo "the branch name already exists : we stop the script"
echo "the branch name already exists : we stop the script"
Stephdl
Administrators
5,576
edits
Navigation menu
Page actions
Page
Discussion
View source
History
Page actions
Page
Discussion
More
Tools
In other languages
Personal tools
English
Log in
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version
Search