Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
irul
/
tools
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 9cb3cd0b
authored
Sep 12, 2020
by
irul
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Update check virtualmin
1 parent
11267e29
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
server_info.sh
server_info.sh
View file @
9cb3cd0
...
@@ -34,9 +34,12 @@ echo ""
...
@@ -34,9 +34,12 @@ echo ""
echo
-e
"== Base Application =="
echo
-e
"== Base Application =="
# virtualmin
# virtualmin
if
command
-v virtualmin
&> /dev/null
if
dpkg --get-selections | grep -E
'(^|\s)virtualmin-core($|\s)'
&> /dev/null
then
then
echo
"[x] virtualmin-"
$(
dpkg -l virtualmin-custom | grep ^ii | awk
'{print $3}'
| cut -f1 -d-
)
echo
"[x] virtualmin-core"
$(
dpkg -l virtualmin-custom | grep ^ii | awk
'{print $3}'
| cut -f1 -d-
)
elif
dpkg --get-selections | grep -E
'(^|\s)virtualmin-custom($|\s)'
&> /dev/null
then
echo
"[x] virtualmin-custom"
$(
dpkg -l virtualmin-custom | grep ^ii | awk
'{print $3}'
| cut -f1 -d-
)
else
else
echo
"[_] virtualmin"
echo
"[_] virtualmin"
fi
fi
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment