Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nurlan
eepm
Commits
a0be7055
Commit
a0be7055
authored
Aug 16, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play mssql-server: add Debian/Ubuntu support
parent
1383cca0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletion
+15
-1
mssql-server.sh
play.d/mssql-server.sh
+6
-0
mssql-tools.sh
play.d/mssql-tools.sh
+9
-1
No files found.
play.d/mssql-server.sh
View file @
a0be7055
...
...
@@ -18,6 +18,9 @@ fi
serv mssql-server stop
dname
=
"
$(
epm print info
-s
)
"
dversion
=
"
$(
epm print info
-v
)
"
case
"
$(
$DISTRVENDOR
-d
)
"
in
"AstraLinux"
)
# we have libc++1-9, but this package requires libc++1
...
...
@@ -29,6 +32,9 @@ case "$($DISTRVENDOR -d)" in
ALTLinux|ALTServer
)
epm
install
--repack
https://packages.microsoft.com/rhel/8/mssql-server-2019/mssql-server-1
*
.x86_64.rpm
||
fatal
;;
Debian|Ubuntu
)
epm
install
https://packages.microsoft.com/
$dname
/
$dversion
/mssql-server-2019/pool/main/m/mssql-server/mssql-server_1
*
_amd64.deb
;;
*
)
fatal
"
$(
$DISTRVENDOR
-d
)
is not supported yet."
;;
...
...
play.d/mssql-tools.sh
View file @
a0be7055
...
...
@@ -11,6 +11,9 @@ fi
.
$(
dirname
$0
)
/common.sh
dname
=
"
$(
epm print info
-s
)
"
dversion
=
"
$(
epm print info
-v
)
"
case
"
$(
$DISTRVENDOR
-d
)
"
in
"AstraLinux"
)
epm
install
--skip-installed
unixodbc
||
fatal
...
...
@@ -24,8 +27,13 @@ case "$($DISTRVENDOR -d)" in
epm
install
--repack
https://packages.microsoft.com/rhel/8/prod/mssql-tools-1
*
.x86_64.rpm
epm
install
--repack
https://packages.microsoft.com/rhel/8/prod/msodbcsql17-1
*
.x86_64.rpm
;;
Debian|Ubuntu
)
epm
install
--skip-installed
unixodbc
||
fatal
epm
install
https://packages.microsoft.com/
$dname
/
$dversion
/prod/pool/main/m/msodbcsql17/msodbcsql17_1
*
_amd64.deb
epm
install
https://packages.microsoft.com/
$dname
/
$dversion
/prod/pool/main/m/mssql-tools/mssql-tools_1
*
_amd64.deb
;;
*
)
fatal
"
$(
DISTRVENDOR
-d
)
is not supported yet."
fatal
"
$(
$
DISTRVENDOR
-d
)
is not supported yet."
;;
esac
...
...
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