about summary refs log tree commit diff stats
path: root/pkgs/by-name/mp/mpdpopm/update.sh
blob: cf04b8374bc09d3924f627083004f99b8a0c1286 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env sh

# Mpdpopm - A mpd rating tracker
#
# Copyright (C) 2026 Benedikt Peetz, Michael Herstine <sp1ff@pobox.com> <benedikt.peetz@b-peetz.de, sp1ff@pobox.com>
# SPDX-License-Identifier: AGPL-3.0-or-later
#
# This file is part of Mpdpopm.
#
# You should have received a copy of the License along with this program.
# If not, see <https://www.gnu.org/licenses/agpl.txt>.

nix flake update

[ "$1" = "upgrade" ] && cargo upgrade
cargo update