diff options
author | Martin Herkt <lachs0r@srsfckn.biz> | 2018-05-19 19:43:15 +0200 |
---|---|---|
committer | Martin Herkt <lachs0r@srsfckn.biz> | 2018-05-19 19:55:44 +0200 |
commit | 8c9abd8c7914b71562e2d81faad76015526a9f8e (patch) | |
tree | e18803e1bce2525b2470f7e1a458a0bccbbb0ae5 /scripts | |
parent | cd8832585c96b450598e2fe8ebad006345e8e51d (diff) | |
download | mpv-build-8c9abd8c7914b71562e2d81faad76015526a9f8e.tar.bz2 mpv-build-8c9abd8c7914b71562e2d81faad76015526a9f8e.tar.xz |
Remove Debian scripts
What’s so special about this distro that we not only have a repository
with scripts to compensate for the inability of its maintainers to
package and distribute software to our users, but also have to deal
with their incredibly bad tooling?
Also, the instructions don’t work and only waste users’ time. If these
“only exist for users who want to hurt themselves” then perhaps we
shouldn’t have them in the first place, even if “wants to hurt
themselves” practically describes the majority of Debian users.
Closes #106.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/debian-update-versions | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/scripts/debian-update-versions b/scripts/debian-update-versions deleted file mode 100755 index af59632..0000000 --- a/scripts/debian-update-versions +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - -get_version() -{ - ( - cd $1 > /dev/null - VERSION=1:$(git name-rev --name-only --tags HEAD | sed -e 's/^[^0-9]*//' -e 's/\^0$//') - if [ "$VERSION" = "1:" ]; then - TIMESTAMP=$(git log -1 --date=short --format=%cd | sed 's/-/./g') - COMMIT=$(git rev-parse --short HEAD) - VERSION="2:${TIMESTAMP}.${COMMIT}" - fi - echo ${VERSION} - ) -} - -do_subst() { - sed -e "0,/^mpv (.*)/s/(.*)/($1)/" \ - -e "s/^ \* local build.*/ \* local build with ffmpeg $2, libass $3/" \ - -e"s/\(^ -- Local User <localuser@localhost>\).*/\1 $(date -R)/" debian/changelog.TEMPLATE > debian/changelog -} - -do_subst $(get_version mpv) $(get_version ffmpeg) $(get_version libass) |