diff --git a/apps/Pac-Man/install b/apps/Pac-Man/install index 227b584f67..a8b91bac1c 100755 --- a/apps/Pac-Man/install +++ b/apps/Pac-Man/install @@ -15,7 +15,7 @@ sudo make install || error "Could not install pacman" rm -rf /tmp/pacman -sudo wget -O /usr/local/share/pacman_sdl/txt/gamecontrollerdb.txt https://raw.githubusercontent.com/gabomdq/SDL_GameControllerDB/master/gamecontrollerdb.txt +sudo wget -qO /usr/local/share/pacman_sdl/txt/gamecontrollerdb.txt https://raw.githubusercontent.com/gabomdq/SDL_GameControllerDB/master/gamecontrollerdb.txt status_green 'Installation is now done! To run: Menu -> Games -> Pacman (SDL)' diff --git a/apps/Shattered Pixel Dungeon/install b/apps/Shattered Pixel Dungeon/install index 561bf8d92f..95a9b5454c 100755 --- a/apps/Shattered Pixel Dungeon/install +++ b/apps/Shattered Pixel Dungeon/install @@ -9,7 +9,9 @@ adoptium_installer || exit 1 install_packages temurin-17-jre || exit 1 sudo mkdir -p /usr/local/share/shattered-pixel-dungeon || error "Could not make directory!" -sudo wget -O /usr/local/share/shattered-pixel-dungeon/ShatteredPD-Desktop.jar https://github.com/00-Evan/shattered-pixel-dungeon/releases/download/v${version}/ShatteredPD-v${version}-Java.jar || error "Could not download game!" +wget -O /tmp/ShatteredPD-Desktop.jar https://github.com/00-Evan/shattered-pixel-dungeon/releases/download/v${version}/ShatteredPD-v${version}-Java.jar || error "Could not download game!" +sudo mv -f /tmp/ShatteredPD-Desktop.jar /usr/local/share/shattered-pixel-dungeon/ShatteredPD-Desktop.jar || error "Could not copy game to install folder!" +sudo chown root:root /usr/local/share/shattered-pixel-dungeon/ShatteredPD-Desktop.jar || error "Could not set game ownership!" case "$arch" in "64") path=/usr/lib/jvm/temurin-17-jre-arm64/bin/java ;; diff --git a/apps/Webcord/install-32 b/apps/Webcord/install-32 index 619f4be32c..cf7053b0f0 100755 --- a/apps/Webcord/install-32 +++ b/apps/Webcord/install-32 @@ -9,7 +9,7 @@ install_packages "https://github.com/SpacingBat3/WebCord/releases/download/v${ve if false;then sudo sed -i 's/Name=.*/Name=Discord/g' /usr/share/applications/webcord.desktop - sudo wget -O /usr/share/pixmaps/webcord.png 'https://logodownload.org/wp-content/uploads/2017/11/discord-logo-7-1.png' || sudo cp -f "$(dirname "$0")/icon-64.png" /usr/share/pixmaps/webcord.png + sudo wget -qO /usr/share/pixmaps/webcord.png 'https://logodownload.org/wp-content/uploads/2017/11/discord-logo-7-1.png' || sudo cp -f "$(dirname "$0")/icon-64.png" /usr/share/pixmaps/webcord.png sudo cp -f /usr/share/pixmaps/webcord.png /usr/lib/webcord/resources/app.asar.unpacked/sources/assets/icons/app.png sudo cp -f /usr/share/pixmaps/webcord.png /usr/lib/webcord/resources/app.png diff --git a/apps/Webcord/install-64 b/apps/Webcord/install-64 index 10220cdb32..cc716b19bf 100755 --- a/apps/Webcord/install-64 +++ b/apps/Webcord/install-64 @@ -9,7 +9,7 @@ install_packages "https://github.com/SpacingBat3/WebCord/releases/download/v${ve if false;then sudo sed -i 's/Name=.*/Name=Discord/g' /usr/share/applications/webcord.desktop - sudo wget -O /usr/share/pixmaps/webcord.png 'https://logodownload.org/wp-content/uploads/2017/11/discord-logo-7-1.png' || sudo cp -f "$(dirname "$0")/icon-64.png" /usr/share/pixmaps/webcord.png + sudo wget -qO /usr/share/pixmaps/webcord.png 'https://logodownload.org/wp-content/uploads/2017/11/discord-logo-7-1.png' || sudo cp -f "$(dirname "$0")/icon-64.png" /usr/share/pixmaps/webcord.png sudo cp -f /usr/share/pixmaps/webcord.png /usr/lib/webcord/resources/app.asar.unpacked/sources/assets/icons/app.png sudo cp -f /usr/share/pixmaps/webcord.png /usr/lib/webcord/resources/app.png diff --git a/etc/runonce-entries b/etc/runonce-entries index 523df0aabe..61e82bc59a 100755 --- a/etc/runonce-entries +++ b/etc/runonce-entries @@ -385,4 +385,11 @@ runonce <<"EOF" fi EOF +#fix unintended wget-log pollution due to wget bug +runonce <<"EOF" + if ls ~/wget-log*; then + sudo_popup rm -rf ~/wget-log* + fi +EOF + true