source: opsi/server/wsusoffline/wsusoffline/wsus-download-updates.sh@ 1015

Last change on this file since 1015 was 1015, checked in by joergs, on Jun 1, 2012 at 7:05:36 PM

add check and warning

File size: 199 bytes
Line 
1#!/bin/sh
2
3DEST=/var/lib/wsusoffline
4
5if ! [ -w ${DEST}/client ]; then
6 echo "failed: write access to directory ${DEST}/client/ required" >&2
7 exit 1
8fi
9cd ${DEST}/sh
10./DownloadUpdates.sh "$@"
Note: See TracBrowser for help on using the repository browser.