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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thomas Gambier
slapos.package
Commits
335f7970
Commit
335f7970
authored
Jan 15, 2014
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[re6st-setup] Fix/improve script
parent
23d2f710
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
slapos-node/slapos-re6st-setup
slapos-node/slapos-re6st-setup
+7
-5
No files found.
slapos-node/slapos-re6st-setup
View file @
335f7970
#!/bin/sh -e
#!/bin/
ba
sh -e
SLAPOS_CFG_PATH
=
/etc/opt/slapos/slapos.cfg
SLAPOS_CFG_PATH
=
/etc/opt/slapos/slapos.cfg
...
@@ -20,12 +20,14 @@ function re6st_conf_repos
...
@@ -20,12 +20,14 @@ function re6st_conf_repos
zypper
install
re6stnet
zypper
install
re6stnet
else
else
if
[
-f
/usr/bin/apt-get
]
;
then
if
[
-f
/usr/bin/apt-get
]
;
then
gpg
--keyserver
subkeys.pgp.net
--recv-keys
1A716324
if
[
!
-f
/etc/apt/sources.list.d/git.erp5.org.list
]
;
then
gpg
--export
1A716324 | apt-key add -
gpg
--keyserver
subkeys.pgp.net
--recv-keys
1A716324
gpg
--export
1A716324 | apt-key add -
echo
"deb http://git.erp5.org/dist/deb ./"
>
/etc/apt/sources.list.d/git.erp5.org.list
echo
"deb http://git.erp5.org/dist/deb ./"
>
/etc/apt/sources.list.d/git.erp5.org.list
fi
apt-get update
apt-get update
apt-get
install
re6s
t
apt-get
install
-y
re6stne
t
else
else
echo
"[ERROR] Unable to install re6st package, no apt-get or zypper found"
echo
"[ERROR] Unable to install re6st package, no apt-get or zypper found"
exit
1
exit
1
...
...
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