LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File pre_checkin.sh of Package kiwi-image-livecd-kde.i586 (Project openSUSE:12.1:Live)

#! /bin/sh

for i in livecd-gnome livecd-x11; do
  sed -e "s,^\([^#].*\)livecd-kde,\1$i," kiwi-image-livecd-kde.spec > kiwi-image-$i.spec
done

sed -i -e "s,cliclists-kde,cliclists-gnome," kiwi-image-livecd-gnome.spec
sed -i -e "s,cliclists-kde,cliclists-x11," kiwi-image-livecd-x11.spec

for i in livecd-gnome; do
  sed -i -e "s,KDE-cd,GNOME-cd," kiwi-image-$i.spec
done

sed -i -e "s,KDE-cd,X11-cd," kiwi-image-livecd-x11.spec

#for i in usb-kde usb-gnome; do
#  sed -i -e "s,^#USB ,," kiwi-image-$i.spec
#done