Made curl calls less verbose
This commit is contained in:
parent
0ea7a9251f
commit
a018d06955
@ -12,7 +12,7 @@ TMP_FILE=$(mktemp $FILE_DIR/nvim.XXXXXX.appimage)
|
|||||||
|
|
||||||
echo "Downloading latest nightly $FILE_NAME to $TMP_FILE"
|
echo "Downloading latest nightly $FILE_NAME to $TMP_FILE"
|
||||||
# curl -L -o $TMP_FILE $FILE_URL/$FILE_NAME || die "Can't cURL $FILE_NAME"
|
# curl -L -o $TMP_FILE $FILE_URL/$FILE_NAME || die "Can't cURL $FILE_NAME"
|
||||||
wget -O $TMP_FILE $FILE_URL/$FILE_NAME || die "Can't cURL $FILE_NAME"
|
wget -O $TMP_FILE $FILE_URL/$FILE_NAME > /dev/null 2>&1 || die "Can't cURL $FILE_NAME"
|
||||||
|
|
||||||
chmod +x $TMP_FILE || die "Can't chmod $TMP_FILE"
|
chmod +x $TMP_FILE || die "Can't chmod $TMP_FILE"
|
||||||
|
|
||||||
@ -41,7 +41,8 @@ else
|
|||||||
|
|
||||||
cd $FILE_DIR
|
cd $FILE_DIR
|
||||||
|
|
||||||
$TMP_FILE --appimage-extract || die "Can't extract appimage $FILE_NAME"
|
echo "Extracting $NEWVER"
|
||||||
|
$TMP_FILE --appimage-extract > /dev/null 2>&1 || die "Can't extract appimage $FILE_NAME"
|
||||||
if [ -L "$FILE_DIR/nvim" ]; then
|
if [ -L "$FILE_DIR/nvim" ]; then
|
||||||
rm $FILE_DIR/nvim || die "Can't remove $FILE_DIR/nvim"
|
rm $FILE_DIR/nvim || die "Can't remove $FILE_DIR/nvim"
|
||||||
fi
|
fi
|
||||||
|
@ -12,7 +12,7 @@ TMP_FILE=$(mktemp $FILE_DIR/wezterm.XXXXXX.appimage)
|
|||||||
|
|
||||||
echo "Downloading latest nightly $FILE_NAME to $TMP_FILE"
|
echo "Downloading latest nightly $FILE_NAME to $TMP_FILE"
|
||||||
# curl -L -o $TMP_FILE $FILE_URL/$FILE_NAME || die "Can't cURL $FILE_NAME"
|
# curl -L -o $TMP_FILE $FILE_URL/$FILE_NAME || die "Can't cURL $FILE_NAME"
|
||||||
wget -O $TMP_FILE $FILE_URL/$FILE_NAME || die "Can't cURL $FILE_NAME"
|
wget -O $TMP_FILE $FILE_URL/$FILE_NAME > /dev/null 2>&1 || die "Can't cURL $FILE_NAME"
|
||||||
|
|
||||||
chmod +x $TMP_FILE || die "Can't chmod $TMP_FILE"
|
chmod +x $TMP_FILE || die "Can't chmod $TMP_FILE"
|
||||||
|
|
||||||
@ -41,7 +41,8 @@ else
|
|||||||
|
|
||||||
cd $FILE_DIR
|
cd $FILE_DIR
|
||||||
|
|
||||||
$TMP_FILE --appimage-extract || die "Can't extract appimage $FILE_NAME"
|
echo "Extracting $NEWVER"
|
||||||
|
$TMP_FILE --appimage-extract > /dev/null 2>&1 || die "Can't extract appimage $FILE_NAME"
|
||||||
if [ -L "$FILE_DIR/wezterm" ]; then
|
if [ -L "$FILE_DIR/wezterm" ]; then
|
||||||
rm $FILE_DIR/wezterm || die "Can't remove $FILE_DIR/wezterm"
|
rm $FILE_DIR/wezterm || die "Can't remove $FILE_DIR/wezterm"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user