Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Lisa Casino
slapos.package
Commits
1d410992
Commit
1d410992
authored
11 years ago
by
Jondy Zhao
Browse files
Options
Download
Email Patches
Plain Diff
slapos-cygwin-bootstrap: add slapos-cron-config
parent
70c21b47
Changes
1
Hide 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
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
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"
...
...
@@ -230,7 +230,8 @@ function remove_all_files()
csih_inform
"Remove ~/.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
}
"
rm
-rf
/usr/bin/
${
_cmdname
}
done
...
...
This diff is collapsed.
Click to expand it.
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