Dialog dimensions
This commit is contained in:
parent
13d834bfcb
commit
28acc2de99
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue