mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Fix install_feature function
This commit is contained in:
parent
f15533d256
commit
a34485225f
@ -71,18 +71,6 @@ function _install_features() {
|
||||
done
|
||||
}
|
||||
|
||||
function _install_features() {
|
||||
path="$webroot_dir/installers"
|
||||
foreach feature in $(ls "$path/install_feature*.sh"); do
|
||||
source $feature
|
||||
f=$(basename $feature)
|
||||
func="_${$f%.*}"
|
||||
if declare -f -F $1 > /dev/null; then
|
||||
echo "Call $func"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
# Prompts user to set installation options
|
||||
function _config_installation() {
|
||||
if [ "$upgrade" == 1 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user