source: lliurex-meta/trunk/fuentes/generatemeta.sh @ 2150

Last change on this file since 2150 was 1736, checked in by kbut, 4 years ago

add jwm

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