diff options
Diffstat (limited to 'apps/files_external/3rdparty/icewind/smb/install_libsmbclient.sh')
-rwxr-xr-x | apps/files_external/3rdparty/icewind/smb/install_libsmbclient.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/files_external/3rdparty/icewind/smb/install_libsmbclient.sh b/apps/files_external/3rdparty/icewind/smb/install_libsmbclient.sh new file mode 100755 index 00000000000..63544e3ee1f --- /dev/null +++ b/apps/files_external/3rdparty/icewind/smb/install_libsmbclient.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +sudo apt-get install libsmbclient-dev libsmbclient +wget -O /tmp/libsmbclient-php.zip https://github.com/eduardok/libsmbclient-php/archive/master.zip +unzip /tmp/libsmbclient-php.zip -d /tmp +cd /tmp/libsmbclient-php-master +phpize && ./configure && make && sudo make install +echo 'extension="libsmbclient.so"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini |