Browse Source

n/minidlna: Fixed error in control script.

slackware-14.2
Damien Goutte-Gattat 8 years ago
parent
commit
990ad09f13
  1. 4
      n/minidlna/minidlna.SlackBuild
  2. 2
      n/minidlna/rc.minidlna

4
n/minidlna/minidlna.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2013 Damien Goutte-Gattat
# Copyright (C) 2013,2014 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -35,7 +35,7 @@ WGET=${WGET:-http://downloads.sourceforge.net/minidlna/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-minidlna}
BUILD=${BUILD:-1GGD}
BUILD=${BUILD:-2GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}

2
n/minidlna/rc.minidlna

@ -19,7 +19,7 @@ restart)
;;
status)
if [ -f $PIDFILE ] && kill -TERM `cat $PIDFILE` ; then
if [ -f $PIDFILE ] && kill -0 `cat $PIDFILE` ; then
echo "MiniDLNA is running"
else
echo "MiniDLNA is not running"

Loading…
Cancel
Save