diff --git a/SRPMs/anaconda-installclass-tigeros-26-1.fc26.src.rpm b/SRPMs/anaconda-installclass-tigeros-26-1.fc26.src.rpm new file mode 100644 index 0000000..9e4cb2b Binary files /dev/null and b/SRPMs/anaconda-installclass-tigeros-26-1.fc26.src.rpm differ diff --git a/SRPMs/tigeros-backgrounds-1.0-16.fc26.src.rpm b/SRPMs/tigeros-backgrounds-1.0-16.fc26.src.rpm new file mode 100644 index 0000000..451ab09 Binary files /dev/null and b/SRPMs/tigeros-backgrounds-1.0-16.fc26.src.rpm differ diff --git a/SRPMs/tigeros-ff-profile-1.0-2.fc26.src.rpm b/SRPMs/tigeros-ff-profile-1.0-2.fc26.src.rpm new file mode 100644 index 0000000..8429990 Binary files /dev/null and b/SRPMs/tigeros-ff-profile-1.0-2.fc26.src.rpm differ diff --git a/SRPMs/tigeros-logos-1.0.0-4.fc26.src.rpm b/SRPMs/tigeros-logos-1.0.0-4.fc26.src.rpm new file mode 100644 index 0000000..4dc9777 Binary files /dev/null and b/SRPMs/tigeros-logos-1.0.0-4.fc26.src.rpm differ diff --git a/SRPMs/tigeros-release-26-1.0.src.rpm b/SRPMs/tigeros-release-26-1.0.src.rpm new file mode 100644 index 0000000..74c49c0 Binary files /dev/null and b/SRPMs/tigeros-release-26-1.0.src.rpm differ diff --git a/SRPMs/tigeros-repos-26-1.src.rpm b/SRPMs/tigeros-repos-26-1.src.rpm new file mode 100644 index 0000000..5e4d1d2 Binary files /dev/null and b/SRPMs/tigeros-repos-26-1.src.rpm differ diff --git a/SRPMs/tigeros-scripts-1.0-4.fc26.src.rpm b/SRPMs/tigeros-scripts-1.0-4.fc26.src.rpm new file mode 100644 index 0000000..aa3521d Binary files /dev/null and b/SRPMs/tigeros-scripts-1.0-4.fc26.src.rpm differ diff --git a/sources/tigeros-backgrounds/tiger-os-bg.kra b/sources/tigeros-backgrounds/tiger-os-bg.kra new file mode 100644 index 0000000..ccd5edd Binary files /dev/null and b/sources/tigeros-backgrounds/tiger-os-bg.kra differ diff --git a/sources/tigeros-backgrounds/tiger-os-bg.png b/sources/tigeros-backgrounds/tiger-os-bg.png new file mode 100644 index 0000000..1d430f2 Binary files /dev/null and b/sources/tigeros-backgrounds/tiger-os-bg.png differ diff --git a/sources/tigeros-backgrounds/tigeros-backgrounds.xml b/sources/tigeros-backgrounds/tigeros-backgrounds.xml new file mode 100644 index 0000000..9b3c98d --- /dev/null +++ b/sources/tigeros-backgrounds/tigeros-backgrounds.xml @@ -0,0 +1,28 @@ + + + + + TigerOS orange + /usr/share/backgrounds/tigeros/wallpaper1-1920x1080.jpg + stretched + solid + #FFFFFF + #000000 + + + TigerOS default + /usr/share/backgrounds/tigeros/wallpaper2-1920x1080.jpg + stretched + solid + #FFFFFF + #000000 + + + TigerOS white + /usr/share/backgrounds/tigeros/wallpaper3-1920x1080.jpg + stretched + solid + #FFFFFF + #000000 + + diff --git a/sources/tigeros-backgrounds/wallpaper1-1920-1080.jpg b/sources/tigeros-backgrounds/wallpaper1-1920-1080.jpg new file mode 100644 index 0000000..ff191e3 Binary files /dev/null and b/sources/tigeros-backgrounds/wallpaper1-1920-1080.jpg differ diff --git a/sources/tigeros-backgrounds/wallpaper1.svg b/sources/tigeros-backgrounds/wallpaper1.svg new file mode 100644 index 0000000..6a75a4b --- /dev/null +++ b/sources/tigeros-backgrounds/wallpaper1.svg @@ -0,0 +1,186 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sources/tigeros-backgrounds/wallpaper2-1920-1080.jpg b/sources/tigeros-backgrounds/wallpaper2-1920-1080.jpg new file mode 100644 index 0000000..b977908 Binary files /dev/null and b/sources/tigeros-backgrounds/wallpaper2-1920-1080.jpg differ diff --git a/sources/tigeros-backgrounds/wallpaper2.svg b/sources/tigeros-backgrounds/wallpaper2.svg new file mode 100644 index 0000000..631c172 --- /dev/null +++ b/sources/tigeros-backgrounds/wallpaper2.svg @@ -0,0 +1,249 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + Tiger OS + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sources/tigeros-backgrounds/wallpaper3-1920-1080.jpg b/sources/tigeros-backgrounds/wallpaper3-1920-1080.jpg new file mode 100644 index 0000000..7f33965 Binary files /dev/null and b/sources/tigeros-backgrounds/wallpaper3-1920-1080.jpg differ diff --git a/sources/tigeros-backgrounds/wallpaper3.svg b/sources/tigeros-backgrounds/wallpaper3.svg new file mode 100644 index 0000000..105f0e8 --- /dev/null +++ b/sources/tigeros-backgrounds/wallpaper3.svg @@ -0,0 +1,249 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Tiger OS + + diff --git a/sources/tigeros-logos/fedora-logo-small.png b/sources/tigeros-logos/fedora-logo-small.png new file mode 100644 index 0000000..2b37206 Binary files /dev/null and b/sources/tigeros-logos/fedora-logo-small.png differ diff --git a/sources/tigeros-logos/fedora-logo-sprite.svg b/sources/tigeros-logos/fedora-logo-sprite.svg new file mode 100644 index 0000000..a8994e8 --- /dev/null +++ b/sources/tigeros-logos/fedora-logo-sprite.svg @@ -0,0 +1,424 @@ + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sources/tigeros-logos/fedora-logo.png b/sources/tigeros-logos/fedora-logo.png new file mode 100644 index 0000000..e1d329f Binary files /dev/null and b/sources/tigeros-logos/fedora-logo.png differ diff --git a/sources/tigeros-logos/panguin1.png b/sources/tigeros-logos/panguin1.png new file mode 100644 index 0000000..4178a59 Binary files /dev/null and b/sources/tigeros-logos/panguin1.png differ diff --git a/sources/tigeros-logos/panguin1.svg b/sources/tigeros-logos/panguin1.svg new file mode 100644 index 0000000..d0fa898 --- /dev/null +++ b/sources/tigeros-logos/panguin1.svg @@ -0,0 +1,412 @@ + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sources/tigeros-logos/panguin2.png b/sources/tigeros-logos/panguin2.png new file mode 100644 index 0000000..fd13839 Binary files /dev/null and b/sources/tigeros-logos/panguin2.png differ diff --git a/sources/tigeros-logos/panguin2.svg b/sources/tigeros-logos/panguin2.svg new file mode 100644 index 0000000..dde81a0 --- /dev/null +++ b/sources/tigeros-logos/panguin2.svg @@ -0,0 +1,284 @@ + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sources/tigeros-logos/sidebar-logo.png b/sources/tigeros-logos/sidebar-logo.png new file mode 100644 index 0000000..cb82c36 Binary files /dev/null and b/sources/tigeros-logos/sidebar-logo.png differ diff --git a/sources/tigeros-logos/system-logo-white.png b/sources/tigeros-logos/system-logo-white.png new file mode 100644 index 0000000..e1d329f Binary files /dev/null and b/sources/tigeros-logos/system-logo-white.png differ diff --git a/sources/tigeros-logos/throbber-06.png b/sources/tigeros-logos/throbber-06.png new file mode 100644 index 0000000..ce75ff9 Binary files /dev/null and b/sources/tigeros-logos/throbber-06.png differ diff --git a/sources/tigeros-logos/throbber-07.png b/sources/tigeros-logos/throbber-07.png new file mode 100644 index 0000000..e1fb401 Binary files /dev/null and b/sources/tigeros-logos/throbber-07.png differ diff --git a/sources/tigeros-logos/throbber-08.png b/sources/tigeros-logos/throbber-08.png new file mode 100644 index 0000000..a980bc8 Binary files /dev/null and b/sources/tigeros-logos/throbber-08.png differ diff --git a/sources/tigeros-logos/throbber-09.png b/sources/tigeros-logos/throbber-09.png new file mode 100644 index 0000000..54358b4 Binary files /dev/null and b/sources/tigeros-logos/throbber-09.png differ diff --git a/sources/tigeros-logos/throbber-10.png b/sources/tigeros-logos/throbber-10.png new file mode 100644 index 0000000..e9d371b Binary files /dev/null and b/sources/tigeros-logos/throbber-10.png differ diff --git a/sources/tigeros-logos/throbber-11.png b/sources/tigeros-logos/throbber-11.png new file mode 100644 index 0000000..6b18089 Binary files /dev/null and b/sources/tigeros-logos/throbber-11.png differ diff --git a/sources/tigeros-logos/throbber-12.png b/sources/tigeros-logos/throbber-12.png new file mode 100644 index 0000000..6e98458 Binary files /dev/null and b/sources/tigeros-logos/throbber-12.png differ diff --git a/sources/tigeros-logos/throbber-13.png b/sources/tigeros-logos/throbber-13.png new file mode 100644 index 0000000..968da6e Binary files /dev/null and b/sources/tigeros-logos/throbber-13.png differ diff --git a/sources/tigeros-logos/throbber-14.png b/sources/tigeros-logos/throbber-14.png new file mode 100644 index 0000000..3610511 Binary files /dev/null and b/sources/tigeros-logos/throbber-14.png differ diff --git a/sources/tigeros-logos/throbber-15.png b/sources/tigeros-logos/throbber-15.png new file mode 100644 index 0000000..b368f27 Binary files /dev/null and b/sources/tigeros-logos/throbber-15.png differ diff --git a/sources/tigeros-scripts/cs/idea.sh b/sources/tigeros-scripts/cs/idea.sh new file mode 100644 index 0000000..556d68f --- /dev/null +++ b/sources/tigeros-scripts/cs/idea.sh @@ -0,0 +1,75 @@ +#!/usr/bin/bash + +# IntelliJ installer script for TigerOS +# author: Josh Bicking + +DEPS=java-1.8.0-openjdk +PROG="IntelliJ IDEA Community Edition" +PROG_SHORT=idea-ce +VERSION=idea-IC-171.4073.35 +TEMP_FILE=/tmp/ideaIC-2017.1.1.tar.gz +FILE_DIR=/usr/local +FILE=$FILE_DIR/$VERSION/bin/idea.sh +FILE_URL=https://download.jetbrains.com/idea/ideaIC-2017.1.1.tar.gz +LINK=$FILE_DIR/bin/$PROG_SHORT +ICON=$FILE_DIR/$VERSION/bin/idea.png + + +# Check that the current user is root +if [ $EUID != 0 ] +then + echo "Please run this script as root (sudo $@$0)." + exit +fi + +## Removal +# Check if remove flag was passed +if [ ! -z "$1" ] && [ "$1" = "--remove" ] + then + + rm $LINK + rm /usr/local/share/applications/jetbrains-idea-ce.desktop + rm -rf $FILE_DIR/$VERSION + + # Remove local links if they were created + for i in `ls /home/` + do + rm -f /home/$i/.local/share/applications/jetbrains-idea-ce.desktop + done + +else + + ## Installation + # Install dependencies + dnf install $DEPS -y + + # Get the files + wget -O $TEMP_FILE $FILE_URL + # Extract the files + tar -xf $TEMP_FILE -C $FILE_DIR + + # Make a link + ln -s $FILE $LINK + + chmod +x $LINK + chmod -R 755 $FILE_DIR/$VERSION + + # Make a desktop file + # IDEA's first time setup allows the user to make this file. Naming it as such means the user won't get a duplicate entry. + cat > /usr/local/share/applications/jetbrains-idea-ce.desktop < + +DEPS=java-1.8.0-openjdk +PROG=JFLAP +FILE=/usr/share/java/JFLAP.jar +FILE_URL=http://www.jflap.org/jflaptmp/may15-2011/withoutSource/JFLAP.jar +LINK=/usr/local/bin/jflap +ICON_URL=http://jflap.org/jflapLogo2.jpg + + +# Check that the current user is root +if [ $EUID != 0 ] +then + echo "Please run this script as root (sudo $@$0)." + exit +fi + +## Removal +# Check if remove flag was passed +if [ ! -z "$1" ] && [ "$1" = "--remove" ] + then + + rm $LINK + rm /usr/local/share/applications/$PROG.desktop + rm $FILE + rm /usr/local/share/icons/$PROG.jpg + +else + + ## Installation + # Install dependencies + dnf install $DEPS -y + + # Get the files + curl -o $FILE $FILE_URL + + # Make a link + cat > $LINK < /usr/local/share/applications/$PROG.desktop < + +DEPS=java-1.8.0-openjdk +PROG=Logisim +FILE=/usr/share/java/logisim.jar +FILE_URL=https://sourceforge.net/projects/circuit/files/2.3.x/2.3.1/logisim-2.3.1.jar/download +LINK=/usr/local/bin/logisim +ICON_URL=https://upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Logisim-icon.svg/48px-Logisim-icon.svg.png + + +# Check that the current user is root +if [ $EUID != 0 ] +then + echo "Please run this script as root (sudo $@$0)." + exit +fi + +## Removal +# Check if remove flag was passed +if [ ! -z "$1" ] && [ "$1" = "--remove" ] + then + + rm $LINK + rm /usr/local/share/applications/$PROG.desktop + rm $FILE + rm /usr/local/share/icons/$PROG.jpg + +else + + ## Installation + # Install dependencies + dnf install $DEPS -y + + # Get the files + curl -o $FILE $FILE_URL + + # Make a link + cat > $LINK < /usr/local/share/applications/$PROG.desktop < + +if [ $EUID != 0 ] +then + echo "Please run this script as root ( $@$0)." + exit +fi +echo "This script will enable the RPMFusion repositories for nonfree or patent encumbered software. Due to the legal implications of shipping non-free or patent encumbered technology, we cannot enable these packages by default. Long story short, if you want to do things like listen to mp3, or watch youtube videos in your browser, you will probably need to enable these options. You may enable these options at any time by running sudo enablerpmfusion in a terminal." +while true; do + read -p "Do you wish to continue? [y/n] " yn + case $yn in + [Yy]* ) dnf -y install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm && exit;; + [Nn]* ) exit;; + esac +done + + diff --git a/sources/tigeros-scripts/postinstall b/sources/tigeros-scripts/postinstall new file mode 100755 index 0000000..6ef1e81 --- /dev/null +++ b/sources/tigeros-scripts/postinstall @@ -0,0 +1,114 @@ +#!/bin/bash + +# TigerOS postinstall package setup script +# author: Aidan Kahrs + + +# Check that the current user is root +if [ $EUID != 0 ] +then + echo "Please run this script as root (sudo $@$0)." + exit +fi +echo +echo -e "Welcome to the TigerOS post install script.\n +This script will walk you through initial configuration of TigerOS including installing a set of packages used for classes in your major." +echo +find /home -name "tigeros-postinstall.desktop" -exec rm {} + 2>/dev/null +bash /usr/local/bin/enablerpmfusion +PS3='Please enter a number: ' +options=("CS" "IT/WMC" "NSSA/CIT" "SE" "Quit") +select opt in "${options[@]}" +do + case $opt in + "CS") + echo -e "Welcome to the TigerOS CS package installer script.\n +This script will install Intellij IDEA, PyCharm, PROLOG, Racket, Logisim and JFLAP on your machine." + echo + while true; do + read -p "Do you wish to continue? [y/n] " yn + case $yn in + [Yy]* ) break;; + [Nn]* ) exit;; + esac + done + bash /usr/local/bin/cs/idea.sh + #TODO fix this when copr is stable + #dnf copr enable -y phracek/PyCharm; dnf install pycharm-community; + dnf install https://copr-be.cloud.fedoraproject.org/results/phracek/PyCharm/fedora-25-x86_64/00549395-pycharm-community/pycharm-community-2017.1.2-1.fc25.x86_64.rpm https://copr-be.cloud.fedoraproject.org/results/phracek/PyCharm/fedora-25-x86_64/00549395-pycharm-community/pycharm-community-plugins-2017.1.2-1.fc25.x86_64.rpm + # TODO PROLOG + wget https://mirror.racket-lang.org/installers/6.8/racket-6.8-x86_64-linux.sh + chmod +x racket-6.8-x86_64-linux.sh + bash racket-6.8-x86_64-linux.sh + bash /usr/local/bin/cs/logisim.sh + bash /usr/local/bin/cs/jflap.sh + exit + ;; + "IT/WMC") + echo -e "Welcome to the TigerOS IT/WMC package installer script.\n +This script will install mysql, mongodb, subversion, filezilla, and nodejs on your machine." + echo + while true; do + read -p "Do you wish to continue? [y/n] " yn + case $yn in + [Yy]* ) break;; + [Nn]* ) exit;; + esac + done + wget https://dev.mysql.com/get/mysql57-community-release-fc25-9.noarch.rpm -O mysql-repo.rpm + dnf install -y mysql-repo.rpm + dnf install -y mysql-community-server + echo "mysql installed see "https://dev.mysql.com/doc/mysql-yum-repo-quick-guide/en/" for further instructions. Start at step 4." + dnf install -y mongodb + semanage port -a -t mongod_port_t -p tcp 27017 + dnf install -y subversion filezilla nodejs java-1.8.0-openjdk + echo -e "Due to licensing constraints we cannot distribute jGrasp at this time.\n +Please see http://spider.eng.auburn.edu/user-cgi/grasp/grasp.pl?;dl=download_jgrasp.html for download instructions.\n +Please note that the JDK is already installed and accesibble on your system." + mysql_secure_installation + rm mysql-repo.rpm + echo "Install finished" + exit + ;; + "NSSA/CIT") + echo -e "Welcome to the TigerOS NSSA/CIT package installer script.\n +This script will install wireshark, python 2.7, and python 3 on your machine." + echo + while true; do + read -p "Do you wish to continue? [y/n] " yn + case $yn in + [Yy]* ) break;; + [Nn]* ) exit;; + esac + done + dnf install -y wireshark-gtk python python3 java-1.8.0-openjdk + groupadd wireshark + usermod -aG wireshark $USER + echo -e "Due to licensing constraints we cannot distribute jGrasp at this time.\n +Please see http://spider.eng.auburn.edu/user-cgi/grasp/grasp.pl?;dl=download_jgrasp.html for download instructions.\n +Please note that the JDK is already installed and accessible on your system." + echo "Install finished" + exit + ;; + "SE") + echo -e "Welcome to the TigerOS SE package installer script.\n +This script will install ruby, eclipse, Spin, sqlite3, plantUML, gitk and MIT Alloy on your machine." + echo + while true; do + read -p "Do you wish to continue? [y/n] " yn + case $yn in + [Yy]* ) break;; + [Nn]* ) exit;; + esac + done + dnf install -y eclipse-jdt ruby sqlite plantuml gitk geany + bash /usr/local/bin/se/spin.sh && bash /usr/local/bin/se/alloy.sh + echo "Install finished" + exit + ;; + "Quit") + break + ;; + *) echo invalid option;; + esac +done diff --git a/sources/tigeros-scripts/removal b/sources/tigeros-scripts/removal new file mode 100755 index 0000000..dab6a57 --- /dev/null +++ b/sources/tigeros-scripts/removal @@ -0,0 +1,96 @@ +#!/bin/bash + +# TigerOS script for the removal of unwanted major-specific packages +# Author: Tim Zabel + +# Check to see if the current user is root +if [ $EUID != 0 ] +then + echo "Please run this script as root (sudo $@$0)." + exit +fi +echo +echo -e "Welcome to the TigerOS package removal script.\n +This script will remove all files and packages installed for a specific major." +echo +PS3='Please enter a number: ' +options=("CS" "IT/WMC" "NSSA/CIT" "SE" "Quit") +select opt in "${options[@]}" +do + # all dnf commands here are done with the -y flag. Individual removals do not ask the user for permission beforehand + case $opt in + "CS") + echo -e "Welcome to the TigerOS CS package removal script.\n +This script will remove Intellij idea, PyCharm, prolog, racket, and JFLAP from your machine." + echo + while true; do + read -p "Do you wish to continue? [y/n] " yn + case $yn in + [Yy]* ) break;; + [Nn]* ) exit;; + esac + done + bash /usr/local/bin/cs/idea.sh --remove # removes Intellij IDEA + bash /usr/local/bin/cs/logisim.sh --remove # removes logisim + bash /usr/local/bin/cs/jflap.sh --remove # removes JFLAP + dnf remove -y pycharm-community + rm /etc/yum.repos.d/_copr_phracek-PyCharm.repo + echo "Removal finished." + exit + ;; + "IT/WMC") + echo -e "Welcome to the TigerOS IT/WMC package removal script.\n +This script will remove mysql, mongodb, subversion, filezilla, and nodejs from your machine." + echo + while true; do + read -p "Do you wish to continue? [y/n] " yn + case $yn in + [Yy]* ) break;; + [Nn]* ) exit;; + esac + done + sudo dnf -y remove mongodb subversion filezilla nodejs php mysql-repo.rpm mysql-community-server + semanage port -d -t mongod_port_t -p tcp 27017 + echo "Removal finished." + exit + ;; + "NSSA/CIT") + echo -e "Welcome to the TigerOS NSSA/CIT package removal script.\n +This script will remove wireshark, python 2.7, and python 3 from your machine." + echo + while true; do + read -p "Do you wish to continue [y/n] " yn + case $yn in + [Yy]* ) break;; + [Nn]* ) exit;; + esac + done + sudo dnf -y remove wireshark --ignore-missing + echo "Removal finished." + exit + ;; + "SE" ) + echo -e "Welcome to the TigerOS Software Engineering removal script.\n +This script will remove ruby, eclipse, Spin, sqlite3 and MIT Alloy from your machine." + echo + while true; do + read -p "Do you wish to continue? [y/n] " yn + case $yn in + [Yy]* ) break;; + [Nn]* ) exit;; + esac + done + sudo dnf -y remove eclipse-jdt ruby sqlite gitk plantuml --ignore-missing + bash /usr/local/bin/se/spin.sh --remove + bash /usr/local/bin/se/alloy.sh --remove + echo "Removal finished." + exit + ;; + "Quit") + break + ;; + *) + echo "Invalid Option." + ;; + esac +done diff --git a/sources/tigeros-scripts/se/alloy.sh b/sources/tigeros-scripts/se/alloy.sh new file mode 100644 index 0000000..4707ad6 --- /dev/null +++ b/sources/tigeros-scripts/se/alloy.sh @@ -0,0 +1,63 @@ +#!/usr/bin/bash + +# MIT Alloy installer script for TigerOS +# author: Aidan Kahrs + +DEPS=java-1.8.0-openjdk +PROG=Alloy +FILE=/usr/share/java/alloy.jar +FILE_URL=http://alloy.mit.edu/alloy/downloads/alloy4.2.jar +LINK=/usr/local/bin/alloy + + +# Check that the current user is root +if [ $EUID != 0 ] +then + echo "Please run this script as root (sudo $@$0)." + exit +fi +# Check if remove flag was passed +if [ ! -z "$1" ] && [ "$1" = "--remove" ] + then + + rm $LINK + rm /usr/local/share/applications/$PROG.desktop + rm $FILE + rm /usr/local/share/icons/$PROG.jpg + +else + +# Install dependencies +dnf install $DEPS -y + +# Get the files +curl -o $FILE $FILE_URL + +# Make a link +cat > $LINK < /usr/local/share/applications/$PROG.desktop < + +# Check that the current user is root +if [ $EUID != 0 ] +then + echo "Please run this script as root (sudo $@$0)." + exit +fi +# Check if remove flag was passed +if [ ! -z "$1" ] && [ "$1" = "--remove" ] + then + rm /usr/local/bin/spin + rm /usr/local/bin/ispin +else + +wget http://spinroot.com/spin/Src/spin646.tar.gz -O /tmp/spin.tar.gz +tar -xvf /tmp/spin.tar.gz +cd /tmp/Spin/Src* +dnf install -y byacc +make +install -p -m 755 spin /usr/local/bin/spin +sed -i 's#BIN=/usr/bin#BIN=/usr/local/bin#g' /tmp/Spin/iSpin/install.sh +dnf install tcl tk +bash /tmp/Spin/iSpin/install.sh +dnf remove byacc diff --git a/sources/tigeros-scripts/tigeros-postinstall.desktop b/sources/tigeros-scripts/tigeros-postinstall.desktop new file mode 100644 index 0000000..b953daf --- /dev/null +++ b/sources/tigeros-scripts/tigeros-postinstall.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=TigerOS postinstall script +Comment=First run post install onfigurations +Exec=gnome-terminal -e "sudo /usr/local/bin/postinstall" +Terminal=false