Changeset 358
- Timestamp:
- 03/27/06 19:38:31 (3 years ago)
- Files:
-
- trunk/debian/freecast.init.template (modified) (1 diff)
- trunk/source/org/kolaka/freecast/resource/FileResourceLocator.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/debian/freecast.init.template
r1 r358 28 28 test -f $DAEMON || exit 0 29 29 if [ -n "$CONFIG" ]; then 30 if [ ! -f $CONFIG ]; then 30 echo $CONFIG | egrep "^http:|^file" > /dev/null 2>&1 && CONFIG_URL=true 31 # we can't check urls 32 33 if [ "$CONFIG_URL" != "true" && ! -f $CONFIG ]; then 31 34 echo "The specified configuration file doesn't exist ($CONFIG)." 32 35 echo "See configuration samples into /usr/share/doc/freecast." trunk/source/org/kolaka/freecast/resource/FileResourceLocator.java
r251 r358 55 55 if (uri.getScheme() != null) { 56 56 ResourceLocator.MalformedURIException.checkScheme(uri, "file"); 57 } 58 if (uri.getPath() == null) { 59 throw new ResourceLocator.UnavailableResourceException(uri); 57 60 } 58 61
