Skip to content

Commit

Permalink
Closes #18
Browse files Browse the repository at this point in the history
  • Loading branch information
Salamek committed Jun 11, 2018
1 parent 0bf1ad0 commit c963ec8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion archlinux/blacklist.install
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pre_install() {

## arg 1: the new package version
post_install() {
useradd -m blacklist
id -u blacklist &>/dev/null || useradd -m blacklist
mkdir -p /home/blacklist/pdfs
mkdir -p /home/blacklist/thumbnails
chown blacklist:users /home/blacklist/pdfs
Expand Down
2 changes: 1 addition & 1 deletion debian/python3-blacklist.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ case "$1" in
configure)
if [ -z "$2" ]; then
echo "Adding blacklist user"
useradd -m blacklist
id -u blacklist &>/dev/null || useradd -m blacklist
mkdir -p /home/blacklist/pdfs
mkdir -p /home/blacklist/thumbnails
chown blacklist:blacklist /home/blacklist/pdfs
Expand Down

0 comments on commit c963ec8

Please sign in to comment.