diff --git a/packages/tigeros-scripts-1.0-1.fc25.src.rpm b/packages/tigeros-scripts-1.0-1.fc25.src.rpm index 67aea91..01f64a2 100644 Binary files a/packages/tigeros-scripts-1.0-1.fc25.src.rpm and b/packages/tigeros-scripts-1.0-1.fc25.src.rpm differ diff --git a/scripts/postinstall b/scripts/postinstall index 0a8ff71..39d46f4 100644 --- a/scripts/postinstall +++ b/scripts/postinstall @@ -11,9 +11,10 @@ then exit fi echo -e "Welcome to the TigerOS post install script.\n -This script will walk you through initial configuration if TigerOS including installing a set of packages used for classes in your major." +This script will walk you through initial configuration of TigerOS including installing a set of packages used for classes in your major." echo -e "\n" sleep 5; +systemctl mask tigeros-setup.service bash /usr/local/bin/enablerpmfusion PS3='Please enter your major: ' options=("CS" "IT/WMC" "NSSA/CIT" "SE" "Quit") diff --git a/scripts/tigeros-setup.service b/scripts/tigeros-setup.service new file mode 100644 index 0000000..9dae171 --- /dev/null +++ b/scripts/tigeros-setup.service @@ -0,0 +1,9 @@ +[Desktop Entry] +Description=installs major-specific programs + +[Service] +ExecStart=gnome-terminal -e "/usr/share/tigeros/postinstall" + +[Install] +WantedBy=multi-user.target + diff --git a/tigeros.ks b/tigeros.ks index 95d064d..ba31192 100644 --- a/tigeros.ks +++ b/tigeros.ks @@ -355,17 +355,7 @@ restorecon -R /home/liveuser EOF # Fetch scripts -mkdir -p /usr/share/autostart -chmod +x /usr/local/bin/* -cat > /etc/xdg/autostart/postinstall.desktop <