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 authored and Marco van Wieringen committed Feb 17, 2015
1 parent c0a0c90 commit 81840b9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions platforms/opsi/winbareos-opsi.spec
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 81840b9

Please sign in to comment.