Moved scripts out of the way

This commit is contained in:
Frank Schiebel 2023-09-15 15:38:05 +02:00
parent b13997ec9b
commit 19a02722c5
6 changed files with 22 additions and 0 deletions

14
scripts/get_greenfoot_bluej.sh Executable file
View file

@ -0,0 +1,14 @@
#!/bin/bash
srvpath=/var/www/html/javadev
mkdir -p $srvpath
rm -f $srvpath/*
cd $srvpath || exit 1
greenfoot=https://www.greenfoot.org/download/files/Greenfoot-linux-371.deb
bluej=https://www.bluej.org/download/files/BlueJ-linux-520.deb
wget $greenfoot -O $srvpath/greenfoot.deb
wget $bluej -O $srvpath/bluej.deb

11
scripts/get_msttcorefonts.sh Executable file
View file

@ -0,0 +1,11 @@
#!/bin/bash
mkdir -p /var/www/html/mscorefonts
rm -f /var/www/html/mscorefonts/*
cd /var/www/html/mscorefonts
for i in andale32.exe arialb32.exe arial32.exe comic32.exe courie32.exe georgi32.exe impact32.exe times32.exe trebuc32.exe verdan32.exe webdin32.exe; do
wget https://downloads.sourceforge.net/corefonts/$i;
done

14
scripts/qgm_create_bgimages.sh Executable file
View file

@ -0,0 +1,14 @@
#!/bin/bash
if [ "x$1" == x ]; then
echo "Das erste Argument muss das neue Hintergrundbild sein"
exit 1
fi
if [ ! -f $1 ]; then
echo "Die Datei \"$1\" existiert nicht."
exit 1
fi
convert $1 -colorspace Gray ./roles/lmn_qgm/files/qgm_background.jpg
convert $1 -quality 77 ./roles/lmn_qgm/files/qgm_background_wallpaper.jpg