Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update unrar to latest sm

  • Loading branch information...
commit 0eeccb969e49fa7b6d8323c4ed989e72da1d0e43 1 parent 0994fee
@mpapis mpapis authored
Showing with 5 additions and 4 deletions.
  1. +5 −4 unrar/shell/functions
View
9 unrar/shell/functions
@@ -1,6 +1,6 @@
#!/bin/sh
-unrar_initialize()
+unrar_prefetch()
{
package define \
file "unrarsrc-${package_version}.${archive_format}" \
@@ -9,7 +9,8 @@ unrar_initialize()
unrar_configure()
{
- replace_content "^DESTDIR=.*$" \
+ file replace \
+ content "^DESTDIR=.*$" \
with "DESTDIR=${install_path}" \
in "makefile.unix"
}
@@ -31,7 +32,7 @@ unrar_build()
unrar_install()
{
paths create "${install_path}/bin"
- move_file "unrar" to "${install_path}/bin"
- ensure_files_are_executable "${install_path}/bin/unrar"
+ file move "unrar" to "${install_path}/bin"
+ file chmod 755 "${install_path}/bin/unrar"
}
Please sign in to comment.
Something went wrong with that request. Please try again.