Browse Source

fix %post logic for scripts

website
axk4545 7 years ago
parent
commit
fa7a580a01
1 changed files with 8 additions and 10 deletions
  1. +8
    -10
      tigeros.ks

+ 8
- 10
tigeros.ks View File

@ -356,23 +356,22 @@ EOF
cd /usr/share/backgrounds/images cd /usr/share/backgrounds/images
# fetch custom RIT backgrounds # fetch custom RIT backgrounds
FIXME
# Fetch rpm fusion scripts # Fetch rpm fusion scripts
mkdir -p /usr/share/autostart mkdir -p /usr/share/autostart
cp -R /scripts/ /home/liveuser/
chown -R liveuser:liveuser /home/liveuser
restorecon -R /home/liveuser
mkdir -p /usr/local/tigeros
cp -R /scripts/ /mnt/sysimage/usr/local/tigeros/
cp /home/liveuser/enablerpmfusion.sh /usr/share/autostart/enablerpmfusion.sh cp /home/liveuser/enablerpmfusion.sh /usr/share/autostart/enablerpmfusion.sh
cp /home/liveuser/FusionEnableLauncher.py /usr/share/autostart/FusionEnableLauncher.py
cp /home/liveuser/postinstall /usr/share/autostart/postinstall
ln -s /mnt/sysimage/usr/local/tigeros/FusionEnableLauncher.py /mnt/sysimage/usr/share/autostart/FusionEnableLauncher.py
ln -s /mnt/sysimage/usr/local/tigeros/postinstall /mnt/sysimage/usr/share/autostart/postinstall
chmod a+rwx enablerpmfusion.sh
chmod -R a+rwx /mnt/sysimage/usr/local/tigeros/
# Download and install google chrome # Download and install google chrome
dnf install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm dnf install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
restorecon -R /home/liveuser
%end %end
%packages %packages
@ -411,7 +410,6 @@ lynx
memtest86+ memtest86+
parole parole
pidgin pidgin
#playonlinux
rhythmbox rhythmbox
syslinux syslinux
transmission transmission
@ -424,7 +422,7 @@ zsh
-fedora-bookmarks -fedora-bookmarks
-fedora-icon-theme -fedora-icon-theme
-fedora-logos -fedora-logos
#-fedora-release
-fedora-release
-fedora-release-notes -fedora-release-notes
-hplip -hplip
-isdn4k-utils -isdn4k-utils

Loading…
Cancel
Save