Commit 01d962d0 authored by Nicolas Perrin's avatar Nicolas Perrin

First aacskeydb commit

parents
SHELL = /bin/sh
prefix = /usr
exec_prefix = $(prefix)
MKINSTALLDIRS = mkdir -p
INSTALL = cp
bindir = $(exec_prefix)/bin
installdirs:
$(MKINSTALLDIRS) $(DESTDIR)$(bindir)
install: installdirs
$(NORMAL_INSTALL)
$(INSTALL) aacskeydb-download $(DESTDIR)$(bindir)/
#!/bin/bash
# Download KEYDB.cfg if not already here
KEYDB_DIR="$HOME/.config/aacs"
KEYDB_FILENAME="KEYDB.cfg"
echo -ne "\n *************************************\n"
if [ ! -f $KEYDB_DIR/$KEYDB_FILENAME ]; then
mkdir -p $KEYDB_DIR
KEYDB_URL="http://vlc-aacs.whoknowsmy.name/files"
echo -ne " Downloading KEYDB.cfg...\n"
wget $KEYDB_URL/$KEYDB_FILENAME -O $KEYDB_DIR/$KEYDB_FILENAME
else
echo -ne " KEYDB.cfg already installed in $KEYDB_DIR.\n"
fi
echo -ne "\n *************************************\n"
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment