summaryrefslogtreecommitdiff
path: root/waterfox-g/stackrpms-diff.sh
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2024-01-25 16:10:06 -0500
committerB. Stack <bgstack15@gmail.com>2024-01-25 16:12:06 -0500
commit08279cfc6ceced8ad0b7a149a9361b5e8cca67c9 (patch)
tree40796a419adb592b9b9fc8538f2c33503875100e /waterfox-g/stackrpms-diff.sh
parentnew makemkv source tarball location (diff)
downloadstackrpms-08279cfc6ceced8ad0b7a149a9361b5e8cca67c9.tar.gz
stackrpms-08279cfc6ceced8ad0b7a149a9361b5e8cca67c9.tar.bz2
stackrpms-08279cfc6ceced8ad0b7a149a9361b5e8cca67c9.zip
wf-g 6.0.7 and new diff script for it
Diffstat (limited to 'waterfox-g/stackrpms-diff.sh')
-rwxr-xr-xwaterfox-g/stackrpms-diff.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/waterfox-g/stackrpms-diff.sh b/waterfox-g/stackrpms-diff.sh
new file mode 100755
index 0000000..96c953c
--- /dev/null
+++ b/waterfox-g/stackrpms-diff.sh
@@ -0,0 +1,24 @@
+#!/bin/sh
+# Startdate: 2024-01-25-5 15:11
+# Reference: scite/stackrpms-diff.sh
+# Usage: stackrpms/waterfox-g/stackrpms-diff.sh | vi -
+# Purpose: handle the renamed files because of dropping the -kpe suffix
+left="/usr/src/waterfox/waterfox-deb-rpm-arch-AppImage/waterfox-g-kpe"
+right="stackrpms/waterfox-g/debian"
+cd ~/dev
+# do diff color=always if this is going to a terminal
+_diff_color="never"
+\test -c /proc/$$/fd/1 && _diff_color="always"
+{ test -n "${DIFF_COLOR}" || test -n "${DIFF_COLORS}" ; } && { _diff_color="always" ; }
+diff -x '.*.swp' \
+ --exclude-from="${right}/../diff-excludes" \
+ --color="${_diff_color}" \
+ -aur "${left}" "${right}"
+for word in dirs dsc install links lintian-overrides manpages postinst postrm preinst prerm links ;
+do
+ _result="$( diff --color="${_diff_color}" -aur "${left}/waterfox-g-kpe.${word}" "${right}/waterfox-g.${word}" )"
+ test -n "${_result}" && {
+ echo diff -aur "${left}/waterfox-g-kpe.${word}" "${right}/waterfox-g.${word}"
+ echo "${_result}"
+ }
+done
bgstack15