Skip to content

Commit 107b2ff

Browse files
committed
chore: code clean up
1 parent e3881c5 commit 107b2ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/linux/installer.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -308,19 +308,19 @@ download_and_install_gtk() {
308308
exit 1
309309
}
310310
echo "Extracting GTK..."
311-
tar -xJf "$TMP_DIR/gtk.tar.xz" -C "$destination" || {
311+
tar -xJf "$TMP_DIR/$GTK_FILE" -C "$destination" || {
312312
echo -e "${RED}Failed to extract GTK. The downloaded file might be corrupt.${RESET}"
313313
exit 1
314314
}
315315

316316
if [ ! -d "/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0" ]; then
317317
echo -e "${YELLOW}Downloading WebKit2GTK from $WEBKIT2GTK_URL...${RESET}"
318-
wget $WGET_OPTS "$TMP_DIR/webkit2gtk-4.0.tar.xz" "$WEBKIT2GTK_URL" || {
318+
wget $WGET_OPTS "$TMP_DIR/$WEBKIT2GTK_FILE" "$WEBKIT2GTK_URL" || {
319319
echo -e "${RED}Failed to download WebKit2GTK. Please check your internet connection and try again.${RESET}"
320320
exit 1
321321
}
322322
echo "Extracting WebKit2GTK..."
323-
tar -xJf "$TMP_DIR/webkit2gtk-4.0.tar.xz" -C "$TMP_DIR" || {
323+
tar -xJf "$TMP_DIR/$WEBKIT2GTK_FILE" -C "$TMP_DIR" || {
324324
echo -e "${RED}Failed to extract WebKit2GTK. The downloaded file might be corrupt.${RESET}"
325325
exit 1
326326
}

0 commit comments

Comments
 (0)