source: llx-pool-tools/trunk/fuentes/install-files/usr/share/llx-pool/actions/trusty/check-update-ppa-and-frozen.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: 501 bytes
Line 
1#!/bin/bash
2
3SECTION="check"
4WEIGHT=30
5COMMENT="Check possible updates to local pre-trusty using our PPAs and frozen Ubuntu mirror"
6
7MIRROR_DIR="/srv/nfs/lliurex1505/pre-trusty"
8ORIG_DIST="$MIRROR_DIR/conf/distributions"
9NEW_DIST="$MIRROR_DIR/conf/distributions.frozen_ubuntu"
10UPDATES="$MIRROR_DIR/conf/updates"
11
12
13cp $NEW_DIST $ORIG_DIST
14cp $UPDATES.pre $UPDATES
15
16reprepro -b $MIRROR_DIR  -V --noskipold checkupdate 2>/dev/null | grep -v "will be kept"   | egrep "newly|upgraded|deleted" | sort -u
17
18
Note: See TracBrowser for help on using the repository browser.