Skip to content
Snippets Groups Projects
Commit 28acc2de authored by Bob Mottram's avatar Bob Mottram
Browse files

Dialog dimensions

parent 13d834bf
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment