diff --git a/ci-build.sh b/ci-build.sh deleted file mode 100644 index d9c1d3e..0000000 --- a/ci-build.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash -set -eu - -##################################################################### -# TigerOS Build Script for running on the build box with Jenkins CI # -# @author: Aidan Kahrs # -# # -# Usage: sudo bash ci-build.sh # -# # -##################################################################### -# Check that the current user is root -if [ $EUID != 0 ] -then - echo "Please run this script as root (sudo $@$0)." - exit -fi -setenforce 0 -rm -rf tigeros.ks -wget -O tigeros.ks https://raw.githubusercontent.com/RITlug/TigerOS/master/tigeros.ks -livemedia-creator --ks tigeros.ks --no-virt --resultdir /var/lmc --project TigerOS-Live --make-iso --volid TigerOS --iso-only --iso-name TigerOS.iso --releasever 26 --title TigerOS-live --macboot -cp -f /var/lmc/TigerOS.iso /srv/isos/TigerOS-$(date +%Y%m%d).iso -rm -rf /var/lmc/ -cd /srv/isos -rm -rf CHECKSUM512-$(date +%Y%m%d) -sha512sum TigerOS-$(date +%Y%m%d).iso > CHECKSUM512-$(date +%Y%m%d) -chown -R nginx:nginx /srv -chmod 755 /srv/isos/*.iso -cd /home/build -rm -rf anaconda/ *.log livemedia.log program.log -setenforce 1 -echo "Build finished" diff --git a/design/logo-assets/fedora-logo-small.png b/design/logo-assets/fedora-logo-small.png deleted file mode 100644 index 2b37206..0000000 Binary files a/design/logo-assets/fedora-logo-small.png and /dev/null differ diff --git a/design/logo-assets/fedora-logo-sprite.svg b/design/logo-assets/fedora-logo-sprite.svg deleted file mode 100644 index a8994e8..0000000 --- a/design/logo-assets/fedora-logo-sprite.svg +++ /dev/null @@ -1,424 +0,0 @@ - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/design/logo-assets/fedora-logo.png b/design/logo-assets/fedora-logo.png deleted file mode 100644 index e1d329f..0000000 Binary files a/design/logo-assets/fedora-logo.png and /dev/null differ diff --git a/design/logo-assets/panguin1.png b/design/logo-assets/panguin1.png deleted file mode 100644 index 4178a59..0000000 Binary files a/design/logo-assets/panguin1.png and /dev/null differ diff --git a/design/logo-assets/panguin1.svg b/design/logo-assets/panguin1.svg deleted file mode 100644 index d0fa898..0000000 --- a/design/logo-assets/panguin1.svg +++ /dev/null @@ -1,412 +0,0 @@ - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/design/logo-assets/panguin2.png b/design/logo-assets/panguin2.png deleted file mode 100644 index fd13839..0000000 Binary files a/design/logo-assets/panguin2.png and /dev/null differ diff --git a/design/logo-assets/panguin2.svg b/design/logo-assets/panguin2.svg deleted file mode 100644 index dde81a0..0000000 --- a/design/logo-assets/panguin2.svg +++ /dev/null @@ -1,284 +0,0 @@ - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/design/logo-assets/sidebar-logo.png b/design/logo-assets/sidebar-logo.png deleted file mode 100644 index cb82c36..0000000 Binary files a/design/logo-assets/sidebar-logo.png and /dev/null differ diff --git a/design/logo-assets/system-logo-white.png b/design/logo-assets/system-logo-white.png deleted file mode 100644 index e1d329f..0000000 Binary files a/design/logo-assets/system-logo-white.png and /dev/null differ diff --git a/design/logo-assets/throbber-06.png b/design/logo-assets/throbber-06.png deleted file mode 100644 index ce75ff9..0000000 Binary files a/design/logo-assets/throbber-06.png and /dev/null differ diff --git a/design/logo-assets/throbber-07.png b/design/logo-assets/throbber-07.png deleted file mode 100644 index e1fb401..0000000 Binary files a/design/logo-assets/throbber-07.png and /dev/null differ diff --git a/design/logo-assets/throbber-08.png b/design/logo-assets/throbber-08.png deleted file mode 100644 index a980bc8..0000000 Binary files a/design/logo-assets/throbber-08.png and /dev/null differ diff --git a/design/logo-assets/throbber-09.png b/design/logo-assets/throbber-09.png deleted file mode 100644 index 54358b4..0000000 Binary files a/design/logo-assets/throbber-09.png and /dev/null differ diff --git a/design/logo-assets/throbber-10.png b/design/logo-assets/throbber-10.png deleted file mode 100644 index e9d371b..0000000 Binary files a/design/logo-assets/throbber-10.png and /dev/null differ diff --git a/design/logo-assets/throbber-11.png b/design/logo-assets/throbber-11.png deleted file mode 100644 index 6b18089..0000000 Binary files a/design/logo-assets/throbber-11.png and /dev/null differ diff --git a/design/logo-assets/throbber-12.png b/design/logo-assets/throbber-12.png deleted file mode 100644 index 6e98458..0000000 Binary files a/design/logo-assets/throbber-12.png and /dev/null differ diff --git a/design/logo-assets/throbber-13.png b/design/logo-assets/throbber-13.png deleted file mode 100644 index 968da6e..0000000 Binary files a/design/logo-assets/throbber-13.png and /dev/null differ diff --git a/design/logo-assets/throbber-14.png b/design/logo-assets/throbber-14.png deleted file mode 100644 index 3610511..0000000 Binary files a/design/logo-assets/throbber-14.png and /dev/null differ diff --git a/design/logo-assets/throbber-15.png b/design/logo-assets/throbber-15.png deleted file mode 100644 index b368f27..0000000 Binary files a/design/logo-assets/throbber-15.png and /dev/null differ diff --git a/design/logo-dir-structure.zip b/design/logo-dir-structure.zip deleted file mode 100644 index e522312..0000000 Binary files a/design/logo-dir-structure.zip and /dev/null differ diff --git a/design/tigeros-backgrounds.xml b/design/tigeros-backgrounds.xml deleted file mode 100644 index 9b3c98d..0000000 --- a/design/tigeros-backgrounds.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - 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/design/wallpapers/tiger-os-bg.kra b/design/wallpapers/tiger-os-bg.kra deleted file mode 100644 index ccd5edd..0000000 Binary files a/design/wallpapers/tiger-os-bg.kra and /dev/null differ diff --git a/design/wallpapers/tiger-os-bg.kra~ b/design/wallpapers/tiger-os-bg.kra~ deleted file mode 100644 index 2b3467d..0000000 Binary files a/design/wallpapers/tiger-os-bg.kra~ and /dev/null differ diff --git a/design/wallpapers/tiger-os-bg.png b/design/wallpapers/tiger-os-bg.png deleted file mode 100644 index 1d430f2..0000000 Binary files a/design/wallpapers/tiger-os-bg.png and /dev/null differ diff --git a/design/wallpapers/wallpaper1-1920-1080.jpg b/design/wallpapers/wallpaper1-1920-1080.jpg deleted file mode 100644 index ff191e3..0000000 Binary files a/design/wallpapers/wallpaper1-1920-1080.jpg and /dev/null differ diff --git a/design/wallpapers/wallpaper1.svg b/design/wallpapers/wallpaper1.svg deleted file mode 100644 index 6a75a4b..0000000 --- a/design/wallpapers/wallpaper1.svg +++ /dev/null @@ -1,186 +0,0 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/design/wallpapers/wallpaper2-1920-1080.jpg b/design/wallpapers/wallpaper2-1920-1080.jpg deleted file mode 100644 index b977908..0000000 Binary files a/design/wallpapers/wallpaper2-1920-1080.jpg and /dev/null differ diff --git a/design/wallpapers/wallpaper2.svg b/design/wallpapers/wallpaper2.svg deleted file mode 100644 index 631c172..0000000 --- a/design/wallpapers/wallpaper2.svg +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - - - Tiger OS - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/design/wallpapers/wallpaper3-1920-1080.jpg b/design/wallpapers/wallpaper3-1920-1080.jpg deleted file mode 100644 index 7f33965..0000000 Binary files a/design/wallpapers/wallpaper3-1920-1080.jpg and /dev/null differ diff --git a/design/wallpapers/wallpaper3.svg b/design/wallpapers/wallpaper3.svg deleted file mode 100644 index 105f0e8..0000000 --- a/design/wallpapers/wallpaper3.svg +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Tiger OS - - diff --git a/packages/anaconda-installclass-tigeros-26-1.fc26.src.rpm b/packages/anaconda-installclass-tigeros-26-1.fc26.src.rpm deleted file mode 100644 index 9e4cb2b..0000000 Binary files a/packages/anaconda-installclass-tigeros-26-1.fc26.src.rpm and /dev/null differ diff --git a/packages/tigeros-backgrounds-1.0-16.fc26.src.rpm b/packages/tigeros-backgrounds-1.0-16.fc26.src.rpm deleted file mode 100644 index 451ab09..0000000 Binary files a/packages/tigeros-backgrounds-1.0-16.fc26.src.rpm and /dev/null differ diff --git a/packages/tigeros-ff-profile-1.0-2.fc26.src.rpm b/packages/tigeros-ff-profile-1.0-2.fc26.src.rpm deleted file mode 100644 index 8429990..0000000 Binary files a/packages/tigeros-ff-profile-1.0-2.fc26.src.rpm and /dev/null differ diff --git a/packages/tigeros-logos-1.0.0-4.fc26.src.rpm b/packages/tigeros-logos-1.0.0-4.fc26.src.rpm deleted file mode 100644 index 4dc9777..0000000 Binary files a/packages/tigeros-logos-1.0.0-4.fc26.src.rpm and /dev/null differ diff --git a/packages/tigeros-release-26-1.0.src.rpm b/packages/tigeros-release-26-1.0.src.rpm deleted file mode 100644 index 74c49c0..0000000 Binary files a/packages/tigeros-release-26-1.0.src.rpm and /dev/null differ diff --git a/packages/tigeros-repos-26-1.src.rpm b/packages/tigeros-repos-26-1.src.rpm deleted file mode 100644 index 5e4d1d2..0000000 Binary files a/packages/tigeros-repos-26-1.src.rpm and /dev/null differ diff --git a/packages/tigeros-scripts-1.0-4.fc26.src.rpm b/packages/tigeros-scripts-1.0-4.fc26.src.rpm deleted file mode 100644 index aa3521d..0000000 Binary files a/packages/tigeros-scripts-1.0-4.fc26.src.rpm and /dev/null differ diff --git a/scripts/cs/idea.sh b/scripts/cs/idea.sh deleted file mode 100644 index 556d68f..0000000 --- a/scripts/cs/idea.sh +++ /dev/null @@ -1,75 +0,0 @@ -#!/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/scripts/postinstall b/scripts/postinstall deleted file mode 100755 index 6ef1e81..0000000 --- a/scripts/postinstall +++ /dev/null @@ -1,114 +0,0 @@ -#!/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/scripts/removal b/scripts/removal deleted file mode 100755 index dab6a57..0000000 --- a/scripts/removal +++ /dev/null @@ -1,96 +0,0 @@ -#!/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/scripts/se/alloy.sh b/scripts/se/alloy.sh deleted file mode 100644 index 4707ad6..0000000 --- a/scripts/se/alloy.sh +++ /dev/null @@ -1,63 +0,0 @@ -#!/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/scripts/tigeros-postinstall.desktop b/scripts/tigeros-postinstall.desktop deleted file mode 100644 index b953daf..0000000 --- a/scripts/tigeros-postinstall.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[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