diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2014-10-27 18:38:05 +0200 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2014-10-27 18:38:05 +0200 |
commit | 24934e623441310f644e5f72855b0f2bf9f3cd1a (patch) | |
tree | a453939bf58199bc2c3ff27bcf0accf2b221c6c4 /do-artwork-bump.sh | |
parent | 687f45092b4f4ccf33765cee7427f054bae22344 (diff) |
Incoming! Moving Rogento.git to kogaion-desktop. Finally
Diffstat (limited to 'do-artwork-bump.sh')
-rwxr-xr-x | do-artwork-bump.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/do-artwork-bump.sh b/do-artwork-bump.sh new file mode 100755 index 00000000..a9c0c745 --- /dev/null +++ b/do-artwork-bump.sh @@ -0,0 +1,25 @@ +#!/bin/bash +# made by Sabayon GNU/Linux Team +if [ -z "$2" ]; then + echo do-artwork-bump.sh OLDVER NEWVER + exit +fi + +OLD=$1 +NEW=$2 +PACKAGES="x11-themes/rogentos-artwork-core x11-themes/rogentos-artwork-extra \ + x11-themes/rogentos-artwork-kde x11-themes/rogentos-artwork-gnome \ + x11-themes/rogentos-artwork-loo x11-themes/rogentos-artwork-lxde\ + x11-themes/rogentos-artwork-grub x11-themes/rogentos-artwork-isolinux" + +for package in ${PACKAGES}; do + name=$(echo ${package} | cut -d/ -f2) + if [ -a ${package}/${name}-${NEW}.ebuild ]; then + echo "${NEW} ebuild found, not overwriting" + else + cp ${package}/${name}-${OLD}.ebuild ${package}/${name}-${NEW}.ebuild + fi + ebuild ${package}/${name}-${NEW}.ebuild manifest --force clean install clean + git add ${package}/${name}-${NEW}.ebuild + git add ${package}/Manifest +done |