mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 14:20:31 +01:00
Improve the way out of date modules are detected
This commit is contained in:
@@ -9,3 +9,4 @@ desc_ru_RU=
|
||||
longdesc=Configure the multi-protocol Jabber messaging server.
|
||||
cpan=1
|
||||
os_support=!windows
|
||||
nondefault=1
|
||||
|
||||
@@ -10,3 +10,4 @@ desc_ru_RU=
|
||||
longdesc=Configure the portsentry, hostsentry and logcheck system security monitoring programs.
|
||||
readonly=1
|
||||
os_support=!windows
|
||||
nondefault=1
|
||||
|
||||
5
setup.sh
5
setup.sh
@@ -77,7 +77,10 @@ fi
|
||||
|
||||
# Validate source directory
|
||||
allmods=`cd "$srcdir"; echo */module.info | sed -e 's/\/module.info//g'`
|
||||
defaultallmods=`cd "$srcdir"; echo */module.info | grep -v jabber/module.info | grep -v sentry/module.info | sed -e 's/\/module.info//g'`
|
||||
defaultallmods=`cd "$srcdir"; echo */module.info | xargs grep -L nondefault=1 2>/dev/null | sed -e 's/\/module.info//g'`
|
||||
if [ "$defaultallmods" = "" ]; then
|
||||
defaultallmods="$allmods"
|
||||
fi
|
||||
if [ "$allmods" = "" ]; then
|
||||
echo "ERROR: Failed to get module list"
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user