source: llx-pool-tools/trunk/fuentes/install-files/usr/share/llx-pool/actions/trusty/check-update-security-ppa-only-pro.sh @ 1275

Last change on this file since 1275 was 1275, checked in by hectorgh, 4 years ago

adding project files

  • Property svn:executable set to *
File size: 478 bytes
Line 
1#!/bin/bash
2
3SECTION="check"
4WEIGHT=60
5COMMENT="Check possible updates to local trusty using our security PPA only"
6
7MIRROR_DIR="/srv/nfs/lliurex1505/trusty"
8ORIG_DIST="$MIRROR_DIR/conf/distributions"
9NEW_DIST="$MIRROR_DIR/conf/distributions.security_only"
10UPDATES="$MIRROR_DIR/conf/updates"
11
12cp $NEW_DIST $ORIG_DIST
13cp $UPDATES.pro $UPDATES
14
15reprepro -b $MIRROR_DIR  -V --noskipold checkupdate 2>/dev/null | grep -v "will be kept"   | egrep "newly|upgraded|deleted" | sort -u
16
Note: See TracBrowser for help on using the repository browser.