Skip to content

Commit

Permalink
chore: sync scripts from dickens
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegec committed Mar 20, 2024
1 parent 9e058a8 commit 9896efd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion diff-deb-new.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
# Usage: diff-deb-new.sh right.deb
right=$1.contents
right=$(mktemp /tmp/diff-deb.XXXXXX)
dpkg --contents $1 | awk '!($2=$3=$4=$5="")' > $right
touch -m -d "1980-01-01" $right

Expand Down
4 changes: 2 additions & 2 deletions diff-deb.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/sh
# Usage: diff-deb.sh left.deb right.deb
left=$1.contents
left=$(mktemp /tmp/diff-deb.XXXXXX)
dpkg --contents $1 | awk '!($2=$3=$4=$5="")' > $left
touch -m -d "1980-01-01" $left

right=$2.contents
right=$(mktemp /tmp/diff-deb.XXXXXX)
dpkg --contents $2 | awk '!($2=$3=$4=$5="")' > $right
touch -m -d "1980-01-01" $right

Expand Down

0 comments on commit 9896efd

Please sign in to comment.