Dialog dimensions

This commit is contained in:
Bob Mottram 2018-04-02 16:04:57 +01:00
parent 13d834bfcb
commit 28acc2de99
2 changed files with 6 additions and 7 deletions

View File

@ -318,9 +318,9 @@ function peertube_import_videos {
dialog --backtitle $"Freedombone Control Panel" \
--title $"Import Videos from legacy sites" \
--form $"Enter a channel of video URL for YouTube/Vimeo/Dailymotion" 10 75 4 \
$"Username:" 1 1 "$MY_USERNAME" 1 28 16 15 \
$"Password:" 2 1 "" 2 28 40 10000 \
$"Video/Channel URL:" 3 1 "" 3 28 40 10000 \
$"Username:" 1 1 "$MY_USERNAME" 1 22 16 15 \
$"Password:" 2 1 "" 2 22 50 10000 \
$"Video/Channel URL:" 3 1 "" 3 22 50 10000 \
2> "$data2"
sel=$?
case $sel in

View File

@ -231,10 +231,9 @@ function nodejs_setup_global_modules {
if ! grep -q "NPM_CONFIG_PREFIX=" "$rootdir/root/.bashrc"; then
echo "export NPM_CONFIG_PREFIX=/root/.npm-global" >> "$rootdir/root/.bashrc"
fi
if [ ! "$rootdir" ]; then
export PATH=/root/.npm-global/bin:$PATH
export NPM_CONFIG_PREFIX=/root/.npm-global
fi
# shellcheck disable=SC2086
$mesh_install_nodejs_prefix export PATH=/root/.npm-global/bin:$PATH
$mesh_install_nodejs_prefix export NPM_CONFIG_PREFIX=/root/.npm-global
}
function remove_nodejs {