Changeset 1010 for opsi


Ignore:
Timestamp:
Jun 1, 2012, 5:47:42 PM (12 years ago)
Author:
joergs
Message:

bugfix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • opsi/server/wsusoffline/wsusoffline.spec

    r1009 r1010  
    4646
    4747%install
    48 %define DEST_DIR "/var/lib/wsusoffline/"
     48%define DEST_DIR /var/lib/wsusoffline/
    4949mkdir -p $RPM_BUILD_ROOT/var/lib/
    5050unzip wsusoffline/%{name}%{ver}.zip -d $RPM_BUILD_ROOT/var/lib/
     51rm -r $RPM_BUILD_ROOT/%{DEST_DIR}/*.exe
     52rm -r $RPM_BUILD_ROOT/%{DEST_DIR}/*.au3
     53rm -r $RPM_BUILD_ROOT/%{DEST_DIR}/bin
     54rm -r $RPM_BUILD_ROOT/%{DEST_DIR}/cmd
    5155chmod -R g+w $RPM_BUILD_ROOT/%{DEST_DIR}/client/
    5256chmod a+x $RPM_BUILD_ROOT/%{DEST_DIR}/sh/*
     
    6569%defattr(-,root,root)
    6670/usr/bin/wsus-*.sh
    67 %{DEST_DIR}
     71%dir %{DEST_DIR}
     72# #{DEST_DIR}/bin
     73# #{DEST_DIR}/cmd
     74%{DEST_DIR}/doc
     75%{DEST_DIR}/exclude
     76%{DEST_DIR}/sh
     77%{DEST_DIR}/static
     78%{DEST_DIR}/xslt
     79 
    6880%defattr(-,root,wsusoffline)
    6981%{DEST_DIR}/client/
    70 
     82%{DEST_DIR}/iso/
     83%{DEST_DIR}/log/
     84%{DEST_DIR}/temp/
    7185
    7286
Note: See TracChangeset for help on using the changeset viewer.