close
Warning:
Failed to sync with repository "ogBrowser-Git": (1366, "Incorrect string value: '\\xF0\\x9F\\x93\\xA6 I...' for column 'message' at row 1"); repository information may be out of date. Look in the Trac log for more information including mitigation strategies.
main
Last change
on this file was
42bd667,
checked in by David Fuertes <dfuertes@…>, 4 years ago
|
Historial Limpio
|
-
Property mode set to
100644
|
File size:
280 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | if [ -f /etc/os-release ]; then |
---|
4 | . /etc/os-release |
---|
5 | OS=$NAME |
---|
6 | elif [ -f /etc/lsb-release ]; then |
---|
7 | . /etc/lsb-release |
---|
8 | OS=$DISTRIB_ID |
---|
9 | fi |
---|
10 | |
---|
11 | case $OS in |
---|
12 | Ubuntu | Debian) |
---|
13 | pkg_mng=apt |
---|
14 | ;; |
---|
15 | RedHat | RHEL| CentOS) |
---|
16 | pkg_mng=yum |
---|
17 | ;; |
---|
18 | Fedora) |
---|
19 | pkg_mng=dnf |
---|
20 | ;; |
---|
21 | esac |
---|
22 | |
---|
Note: See
TracBrowser
for help on using the repository browser.
Download in other formats: