summaryrefslogtreecommitdiffstats
path: root/src/oh-installfiles.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-10-22 01:32:16 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-10-22 01:32:16 (EDT)
commit64cf6bb223423578b4aba393727debf0bb7295bd (patch)
treec01233c27c71a9cec762934bb18e6dc791cfbb9c /src/oh-installfiles.sh
parent1a2a04be263600a2c90a498ea9e443e48d894dd1 (diff)
Move common load/init logic into libopkhelper.
Diffstat (limited to 'src/oh-installfiles.sh')
-rw-r--r--src/oh-installfiles.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/oh-installfiles.sh b/src/oh-installfiles.sh
index d77c89b..6288e6a 100644
--- a/src/oh-installfiles.sh
+++ b/src/oh-installfiles.sh
@@ -19,10 +19,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-. '@@LIBOPKBUILD_1@@/load.sm'
+. '@@LIBOPKHELPER@@/load.sm'
-ob_use locale
-ob_use output
ob_use package
files_ifs='
@@ -32,8 +30,7 @@ main()
{
dir='dest'
- ob_set_locale_path '@@LOCALEDIR@@/%s/LC_MESSAGES/%s.ms'
- ob_set_text_domain 'opkhelper'
+ oh_init
while getopts 'd:' opt; do
case "${opt}" in