- Add bash completion support,

- Fix html file location.
This commit is contained in:
2026-03-21 11:16:00 +01:00
parent 686d8642c1
commit 3080925ce5
10 changed files with 113 additions and 27 deletions

View File

@@ -1,10 +1,10 @@
#!/bin/bash
#-------------------------------------------------------------------------------#
#-----------------------------------------------------------------------------------------------------------------------------------
#
# MPM (Meta Package Manager)
# Copyright (C) 2024-2026 Arnaud G. GIBERT
# mailto:arnaud@rx3.net
#
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
@@ -19,7 +19,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
#-------------------------------------------------------------------------------
#-----------------------------------------------------------------------------------------------------------------------------------
command="$1"
arg="$2"
@@ -33,13 +33,12 @@ else
MPM_REPO="https://www.rx3.net/mpm-repository"
fi
VERSION=1.1.0
VERSION=1.1.1
#-----------------------------------------------------------------------------------------------------------------------------------
# Exec CMD
#-----------------------------------------------------------------------------------------------------------------------------------
@@ -63,8 +62,7 @@ exec_cmd()
#-----------------------------------------------------------------------------------------------------------------------------------
# MPM Help
# MPM Version Print
#-----------------------------------------------------------------------------------------------------------------------------------
function mpm_version_print()
@@ -76,7 +74,6 @@ function mpm_version_print()
#-----------------------------------------------------------------------------------------------------------------------------------
# MPM Help
#-----------------------------------------------------------------------------------------------------------------------------------
@@ -91,7 +88,6 @@ function mpm_help_print()
#-----------------------------------------------------------------------------------------------------------------------------------
# Arg Parse
#-----------------------------------------------------------------------------------------------------------------------------------
@@ -147,7 +143,6 @@ function mpm_args_parse()
#-----------------------------------------------------------------------------------------------------------------------------------
# MPM Meta Package List
#-----------------------------------------------------------------------------------------------------------------------------------
@@ -165,7 +160,6 @@ function mpm_mpkg_list()
#-----------------------------------------------------------------------------------------------------------------------------------
# MPM Meta Package Tag Read
#-----------------------------------------------------------------------------------------------------------------------------------
@@ -186,7 +180,6 @@ function mpm_mpkg_tag_read()
#-----------------------------------------------------------------------------------------------------------------------------------
# MPM Meta Package Description
#-----------------------------------------------------------------------------------------------------------------------------------
@@ -201,7 +194,6 @@ function mpm_mpkg_desc()
#-----------------------------------------------------------------------------------------------------------------------------------
# MPM Meta Package List
#-----------------------------------------------------------------------------------------------------------------------------------
@@ -216,7 +208,6 @@ function mpm_mpkg_pkglist()
#-----------------------------------------------------------------------------------------------------------------------------------
# MPM List
#-----------------------------------------------------------------------------------------------------------------------------------
@@ -238,7 +229,6 @@ function mpm_list()
#-----------------------------------------------------------------------------------------------------------------------------------
# MPM Install
#-----------------------------------------------------------------------------------------------------------------------------------
@@ -283,7 +273,6 @@ function mpm_install
#-----------------------------------------------------------------------------------------------------------------------------------
# MPM Main
#-----------------------------------------------------------------------------------------------------------------------------------