Skip to content

Commit

Permalink
Adapt opsi specfile to single windows project
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz committed Mar 23, 2015
1 parent 57060bf commit 657c10e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions platforms/opsi/winbareos-opsi.spec
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,8 @@ VERSION32C=$(sed -r -e 's/(.{1,32}).*/\1/' -e 's/\.*$//' <<< %{version})
sed -i -e "s/^version: \$PackageVersion/version: %{release}/i" \
-e "s/^version: \$ProductVersion/version: $VERSION32C/i" opsi/OPSI/control

WINBAREOS32=`ls -1 /winbareos-*-32-bit-*.exe`
WINBAREOS64=`ls -1 /winbareos-*-64-bit-*.exe`

WINBAREOS32=`ls -1 /winbareos*-postvista-32-bit-*.exe`
WINBAREOS64=`ls -1 /winbareos*-postvista-64-bit-*.exe`
if [ -r "$WINBAREOS32" ] && [ -r "$WINBAREOS64" ]; then
mkdir -p opsi/CLIENT_DATA/data
cp -a $WINBAREOS32 $WINBAREOS64 opsi/CLIENT_DATA/data
Expand Down

0 comments on commit 657c10e

Please sign in to comment.