diff options
author | James Meyer <james.meyer@operamail.com> | 2010-03-21 19:58:57 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-03-21 19:58:57 (GMT) |
commit | 98169e32bb1ceb02382a0eb23e9444a28d51c1bc (patch) | |
tree | a81482db8af2fe37e6f87f8bfe7740b4295918d5 /abs/core-testing/mythtv/trunk/mythtv/pretty | |
parent | eb21cdae644a7758d77f5a9bfe6b42ef4291266e (diff) | |
download | linhes_pkgbuild-98169e32bb1ceb02382a0eb23e9444a28d51c1bc.zip linhes_pkgbuild-98169e32bb1ceb02382a0eb23e9444a28d51c1bc.tar.gz linhes_pkgbuild-98169e32bb1ceb02382a0eb23e9444a28d51c1bc.tar.bz2 |
mythtv: modify pretty script to check for mythlink or mythrename
closes 637
Note only made the change to pretty, did not rebuild pkgs
Diffstat (limited to 'abs/core-testing/mythtv/trunk/mythtv/pretty')
-rwxr-xr-x | abs/core-testing/mythtv/trunk/mythtv/pretty | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/abs/core-testing/mythtv/trunk/mythtv/pretty b/abs/core-testing/mythtv/trunk/mythtv/pretty index 1cfc57b..8b0e051 100755 --- a/abs/core-testing/mythtv/trunk/mythtv/pretty +++ b/abs/core-testing/mythtv/trunk/mythtv/pretty @@ -1,2 +1,11 @@ #!/bin/bash -su - mythtv -c "perl /usr/share/mythtv/contrib/user_jobs/mythrename.pl --link /myth/pretty" +#!/bin/bash +if [ -f /usr/share/mythtv/contrib/user_jobs/mythlink.pl ] +then + su - mythtv -c "perl /usr/share/mythtv/contrib/user_jobs/mythlink.pl --link /myth/pretty" +elif [ -f /usr/share/mythtv/contrib/user_jobs/mythrename.pl ] +then + su - mythtv -c "perl /usr/share/mythtv/contrib/user_jobs/mythrename.pl --link /myth/pretty"a +fi + + |