mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: Linux install script
This commit is contained in:
parent
8f9a95463e
commit
6efa6585f3
1 changed files with 5 additions and 1 deletions
|
|
@ -1,5 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
# Set processor architecture
|
||||
if [ -z $CPU_TARGET ]; then
|
||||
export CPU_TARGET=$(fpc -iTP)
|
||||
|
|
@ -98,7 +100,9 @@ if [ -z $CK_PORTABLE ]
|
|||
then
|
||||
# Copy libraries
|
||||
install -d $DC_INSTALL_PREFIX/usr/lib$LIB_SUFFIX
|
||||
install -m 644 *.so* $DC_INSTALL_PREFIX/usr/lib$LIB_SUFFIX
|
||||
if [ "$(echo *.so*)" != "*.so*" ]; then
|
||||
install -m 644 *.so* $DC_INSTALL_PREFIX/usr/lib$LIB_SUFFIX
|
||||
fi
|
||||
# Create directory for platform independed files
|
||||
install -d $DC_INSTALL_PREFIX/usr/share/doublecmd
|
||||
# Copy man files
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue