File: popcon.sh

package info (click to toggle)
game-data-packager 73
  • links: PTS, VCS
  • area: contrib
  • in suites: bookworm
  • size: 23,420 kB
  • sloc: python: 11,086; sh: 609; makefile: 59
file content (11 lines) | stat: -rwxr-xr-x 291 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
# Copyright 2016 Alexandre Detiste
# SPDX-License-Identifier: GPL-2.0-only

mkdir -p /var/cache/popcon/

date=$(date +%Y%m%d)
wget http://popcon.debian.org/by_inst.gz --no-clobber --output-document=/var/cache/popcon/debian_$date.gz

# $ curl http://popcon.ubuntu.com/
# Thanks !