source: lliurex-meta/trunk/fuentes/updatechangelog @ 1618

Last change on this file since 1618 was 1618, checked in by kbut, 5 years ago

update meta

  • Property svn:executable set to *
File size: 431 bytes
Line 
1#!/bin/bash
2svn st meta* | grep "M" | awk '{ print $2 }' | xargs svn diff | grep -e "^+[^+]" | sed -e "s%^+%%g" | sort -u > /tmp/addpackages
3svn st meta* | grep "M" | awk '{ print $2 }' | xargs svn diff | grep -e "^-[^-]" | sed -e "s%^-%%g" | sort -u > /tmp/removepackages
4packages=$(cat /tmp/addpackages | tr "\n" ",")
5dch -i -U "Add ${packages::-1}"
6packages=$(cat /tmp/removepackages | tr "\n" ",")
7dch "Remove ${packages::-1}"
Note: See TracBrowser for help on using the repository browser.