Index: openacs-4/packages/acs-tcl/lib/check-installed.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/lib/check-installed.tcl,v diff -u -N -r1.2 -r1.3 --- openacs-4/packages/acs-tcl/lib/check-installed.tcl 4 Dec 2018 20:38:58 -0000 1.2 +++ openacs-4/packages/acs-tcl/lib/check-installed.tcl 4 Dec 2018 20:41:30 -0000 1.3 @@ -3,9 +3,9 @@ ADP include for checking if some resources are installed locally, and if not to provide the option to download these resources. - @param resource_info dict containing at least resourceDir and cdn - @param version version of the package - @param download_url url for downloading the resource + @param resource_info dict containing at least resourceDir and cdn + @param version version of the package + @param download_url url for downloading the resource @author Gustaf Neumann } { @@ -22,8 +22,8 @@ # Check, if the resources are already installed. # set is_installed [::util::resources::is_installed_locally \ - -resource_info $resource_info \ - -version_dir $version ] + -resource_info $resource_info \ + -version_dir $version ] if {$is_installed} { # # Tell the users, where the resources are installed. @@ -35,13 +35,19 @@ # Check, if we can install the resources locally. # set writable [util::resources::can_install_locally \ - -resource_info $resource_info \ - -version_dir $version] + -resource_info $resource_info \ + -version_dir $version] if {!$writable} { - # - # If we cannot install locally, tell the user were we want to - # install. - # - set path $resource_dir/$version + # + # If we cannot install locally, tell the user were we want to + # install. + # + set path $resource_dir/$version } } + +# Local variables: +# mode: tcl +# tcl-indent-level: 4 +# indent-tabs-mode: nil +# End: