Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
slapos.package
Commits
1d410992
Commit
1d410992
authored
Sep 09, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos-cygwin-bootstrap: add slapos-cron-config
parent
70c21b47
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
windows/scripts/slapos-cygwin-bootstrap.sh
windows/scripts/slapos-cygwin-bootstrap.sh
+3
-2
No files found.
windows/scripts/slapos-cygwin-bootstrap.sh
View file @
1d410992
...
@@ -177,7 +177,7 @@ readonly -f slapos_patch_cygwin
...
@@ -177,7 +177,7 @@ readonly -f slapos_patch_cygwin
function
install_slapos_cygwin_package
()
function
install_slapos_cygwin_package
()
{
{
for
_cmdname
in
ip useradd usermod groupadd brctl tunctl
;
do
for
_cmdname
in
ip useradd usermod groupadd brctl tunctl
slapos-cron-config
;
do
[[
-x
/usr/bin/
${
_cmdname
}
]]
&&
continue
[[
-x
/usr/bin/
${
_cmdname
}
]]
&&
continue
wget
-c
http://git.erp5.org/gitweb/slapos.package.git/blob_plain/heads/cygwin:/windows/scripts/
${
_cmdname
}
-O
/usr/bin/
${
_cmdname
}
||
wget
-c
http://git.erp5.org/gitweb/slapos.package.git/blob_plain/heads/cygwin:/windows/scripts/
${
_cmdname
}
-O
/usr/bin/
${
_cmdname
}
||
csih_error
"download
${
_cmdname
}
failed"
csih_error
"download
${
_cmdname
}
failed"
...
@@ -230,7 +230,8 @@ function remove_all_files()
...
@@ -230,7 +230,8 @@ function remove_all_files()
csih_inform
"Remove ~/.minttyrc"
csih_inform
"Remove ~/.minttyrc"
rm
-rf
~/.minttyrc
rm
-rf
~/.minttyrc
for
_cmdname
in
ip useradd usermod groupadd brctl tunctl regpwd.exe ipwin.exe
;
do
for
_cmdname
in
ip useradd usermod groupadd brctl tunctl
\
regpwd.exe ipwin.exe slapos-cron-config
;
do
csih_inform
"Remove /usr/bin/
${
_cmdname
}
"
csih_inform
"Remove /usr/bin/
${
_cmdname
}
"
rm
-rf
/usr/bin/
${
_cmdname
}
rm
-rf
/usr/bin/
${
_cmdname
}
done
done
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment