Add more maintenance scripts. - parlay - yet another gentoo overlay
HTML git clone https://git.parazyd.org/parlay
DIR Log
DIR Files
DIR Refs
DIR README
---
DIR commit 8234ed47af29ecd31152cd21d51f8caca260fbf8
DIR parent 07634694228c974c04e540df9f82150d644b0412
HTML Author: parazyd <parazyd@dyne.org>
Date: Tue, 5 Jan 2021 16:57:38 +0100
Add more maintenance scripts.
Diffstat:
D Makefile | 12 ------------
A scripts/repoman_check.sh | 3 +++
A scripts/update_eapi.sh | 5 +++++
3 files changed, 8 insertions(+), 12 deletions(-)
---
DIR diff --git a/Makefile b/Makefile
@@ -1,12 +0,0 @@
-all:
- @echo Available targets:
- @echo make check
- @echo make update-copyright
-
-check:
- repoman -d full
-
-update-copyright:
- ./scripts/update_copyright.sh
-
-.PHONY: all check update-copyright
DIR diff --git a/scripts/repoman_check.sh b/scripts/repoman_check.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+repoman -d full
DIR diff --git a/scripts/update_eapi.sh b/scripts/update_eapi.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+find . -type f -name '*.ebuild' | while read ebuild; do
+ sed -e 's/^EAPI=./EAPI=7/' -i "$ebuild"
+done