inapt 0.3.2

A minimal Debian/Ubuntu APT repository proxy written in Rust. Exposes a valid APT repo structure over HTTP, sourcing .deb packages from GitHub Releases.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
set -e

# Add inapt:inapt user & group
id --user inapt >/dev/null 2>&1 || \
  useradd --system --shell /sbin/nologin --home-dir /var/lib/inapt --user-group \
    --comment "Inapt proxy" inapt

# Create default inapt data directory
mkdir -p /var/lib/inapt
mkdir -p /etc/inapt

# Make inapt:inapt the owner of the inapt data directory
chown -R inapt:inapt /var/lib/inapt
chown -R inapt:inapt /etc/inapt

#DEBHELPER#