diff options
Diffstat (limited to 'net-nds/jxplorer/files')
-rw-r--r-- | net-nds/jxplorer/files/digest-jxplorer-3.1-r3 (renamed from net-nds/jxplorer/files/digest-jxplorer-3.1-r2) | 0 | ||||
-rw-r--r-- | net-nds/jxplorer/files/digest-jxplorer-3.1-r4 | 6 | ||||
-rw-r--r-- | net-nds/jxplorer/files/jxplorer-pre-r1 | 25 |
3 files changed, 31 insertions, 0 deletions
diff --git a/net-nds/jxplorer/files/digest-jxplorer-3.1-r2 b/net-nds/jxplorer/files/digest-jxplorer-3.1-r3 index 4af5ad6a79f7..4af5ad6a79f7 100644 --- a/net-nds/jxplorer/files/digest-jxplorer-3.1-r2 +++ b/net-nds/jxplorer/files/digest-jxplorer-3.1-r3 diff --git a/net-nds/jxplorer/files/digest-jxplorer-3.1-r4 b/net-nds/jxplorer/files/digest-jxplorer-3.1-r4 new file mode 100644 index 000000000000..4af5ad6a79f7 --- /dev/null +++ b/net-nds/jxplorer/files/digest-jxplorer-3.1-r4 @@ -0,0 +1,6 @@ +MD5 4f9650c2e92f3e9eb08b891663d26b1a JXv3.1deploy.tar.bz2 3078424 +RMD160 b55974f22b496d3a5f14bacfadfbd4053ac1a9bc JXv3.1deploy.tar.bz2 3078424 +SHA256 0b1a3cf27c28bf882009931f438a1d56102b6a89802e4882d006b0ec9089be05 JXv3.1deploy.tar.bz2 3078424 +MD5 fc6984c0c4c2c1a10b57c17874b982f5 JXv3.1src.tar.bz2 418206 +RMD160 0c370cda5ed7c2f24bc09b75e978ea83e2c4de58 JXv3.1src.tar.bz2 418206 +SHA256 378244bbcc44ea85a4a567a453e530f9be62c96f6ff99f623c4bc2d47a4b6c8d JXv3.1src.tar.bz2 418206 diff --git a/net-nds/jxplorer/files/jxplorer-pre-r1 b/net-nds/jxplorer/files/jxplorer-pre-r1 new file mode 100644 index 000000000000..721393675ee5 --- /dev/null +++ b/net-nds/jxplorer/files/jxplorer-pre-r1 @@ -0,0 +1,25 @@ +jxplorer_home=/usr/share/jxplorer/ + +home="${HOME}/.jxplorer" + +if [ ! -d "${home}" ]; then + mkdir -v "${home}" + cp -v ${jxplorer_home}/connections.txt "${home}" +fi + +try_create() { + [[ ! -f "${1}" ]] && touch "${1}" +} + +if [ -d ${HOME}/.jxplorer ]; then + try_create "${home}/dxconfig.txt" + try_create "${home}/jxplorer.log" + if [ ! -f ${HOME}/.jxplorer/connections.txt ]; then + cp -v ${jxplorer_home}/connections.txt ${HOME}/.jxplorer + fi + for subdir in htmldocs icons images templates; do + [[ ! -e "${home}/${subdir}" ]] && \ + ln -vs "${jxplorer_home}/${subdir}" "${home}/${subdir}" + done +fi + |