Skip to content

Commit

Permalink
v1.03 项目移交slackwarecn
Browse files Browse the repository at this point in the history
  • Loading branch information
Arondight committed Feb 29, 2016
1 parent 328b65b commit dc29daf
Show file tree
Hide file tree
Showing 9 changed files with 75 additions and 57 deletions.
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v1.03 2016-02-29
* 项目移交slackwarecn 维护

v1.02 2015-08-07
* 更改了一处执行流程。

Expand Down
21 changes: 16 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,30 @@
#关于
# 关于

项目用于在Slackware64 上安装32 位运行库。

程序会自动检测Slackware 版本,您也可以手动指定版本。然而程序无法分辨Current 版本,请手动选择Current。

如果BUG 请提交[Issues][id_Issues]

[id_Issues]: https://github.com/Arondight/slacklib32/issues "点此提交问题"
[id_Issues]: https://github.com/slackwarecn/slacklib32/issues "点此提交问题"

# 安装

#安装
```
git clone https://github.com/Arondight/slacklib32.git /tmp/slacklib32
git clone https://github.com/Slackwarecn/slacklib32.git /tmp/slacklib32
cd /tmp/slacklib32 && sudo ./install.sh
sudo slacklib32
```

#截图
# 版权

Copyright (C) 2016 The Slackware Linux CN Community

# 协议

[点此](LICENSE)查看协议。

# 截图

![截图1](screenshots/screenshot1.png?raw=true)

2 changes: 2 additions & 0 deletions TODO
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
1. 添加多语言支持

13 changes: 7 additions & 6 deletions bin/slacklib32.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#!/usr/bin/env bash
# ===================================================== #
# 如有BUG 请提交Issues #
# https://github.com/Arondight/slacklib32/issues #
# #
# Copyright (C) 2014-2015 秦凡东 #
# ===================================================== #
# ==============================================================================
# 如有BUG 请提交Issues
# https://github.com/slackwarecn/slacklib32/issues
#
# Copyright (C) 2014-2015 秦凡东
# Copyright (C) 2016 The Slackware Linux CN Community
# ==============================================================================

source /usr/local/lib/check_environment.sh
source /usr/local/lib/main_window.sh
Expand Down
15 changes: 8 additions & 7 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#!/usr/bin/env bash
# ===================================================== #
# 如有BUG 请提交Issues #
# https://github.com/Arondight/slacklib32/issues #
# #
# Copyright (C) 2014-2015 秦凡东 #
# ===================================================== #
# ==============================================================================
# 如有BUG 请提交Issues
# https://github.com/slackwarecn/slacklib32/issues
#
# Copyright (C) 2014-2015 秦凡东
# Copyright (C) 2016 The Slackware Linux CN Community
# ==============================================================================

cwd=$(dirname $(readlink -f $0))
exec_target='/usr/local/bin/slacklib32'
Expand Down Expand Up @@ -48,7 +49,7 @@ done

# now answer is yes
for lib_file in ${lib_files[@]}; do
cp -f "$lib_file" "$lib_target"
install -m755 "$lib_file" "$lib_target"
done

if [[ 0 -eq $? ]]; then
Expand Down
20 changes: 10 additions & 10 deletions lib/check_environment.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# ===================================================== #
# 如有BUG 请提交Issues #
# https://github.com/Arondight/slacklib32/issues #
# #
# Copyright (C) 2014-2015 秦凡东 #
# ===================================================== #
# ==============================================================================
# 如有BUG 请提交Issues
# https://github.com/slackwarecn/slacklib32/issues
#
# Copyright (C) 2014-2015 秦凡东
# Copyright (C) 2016 The Slackware Linux CN Community
# ==============================================================================

# =========================
# ==============================================================================
# check_environment
# 检查脚本依赖环境是否满足
# 结果直接用return 语句返回
# =========================
# 检查脚本依赖环境是否满足,结果直接用return 语句返回
# ==============================================================================
function check_environment {
local use_dialog
local title='slacklib32'
Expand Down
20 changes: 10 additions & 10 deletions lib/get_arch.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# ===================================================== #
# 如有BUG 请提交Issues #
# https://github.com/Arondight/slacklib32/issues #
# #
# Copyright (C) 2014-2015 秦凡东 #
# ===================================================== #
# ==============================================================================
# 如有BUG 请提交Issues
# https://github.com/slackwarecn/slacklib32/issues
#
# Copyright (C) 2014-2015 秦凡东
# Copyright (C) 2015 The Slackware Linux CN Community
# ==============================================================================

# =========================
# ==============================================================================
# get_arch
# 获得机器的架构
# 结果存入$arch_file
# =========================
# 获得机器的架构,结果存入$arch_file
# ==============================================================================
function get_arch () {
local arch
local use_dialog
Expand Down
18 changes: 9 additions & 9 deletions lib/install_multilib.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# ===================================================== #
# 如有BUG 请提交Issues #
# https://github.com/Arondight/slacklib32/issues #
# #
# Copyright (C) 2014-2015 秦凡东 #
# ===================================================== #
# ==============================================================================
# 如有BUG 请提交Issues
# https://github.com/slackwarecn/slacklib32/issues
#
# Copyright (C) 2014-2015 秦凡东
# Copyright (C) 2016 The Slackware Linux CN Community
# ==============================================================================

# =========================
# ==============================================================================
# install_multilib
# 下载并安装Multilib
# 结果以return 语句返回
# 下载并安装Multilib,结果以return 语句返回
# =========================
function install_multilib () {
local use_dialog
Expand Down
20 changes: 10 additions & 10 deletions lib/main_window.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# ===================================================== #
# 如有BUG 请提交Issues #
# https://github.com/Arondight/slacklib32/issues #
# #
# Copyright (C) 2014-2015 秦凡东 #
# ===================================================== #
# ==============================================================================
# 如有BUG 请提交Issues
# https://github.com/slackwarecn/slacklib32/issues
#
# Copyright (C) 2014-2015 秦凡东
# Copyright (C) 2016 The Slackware Linux CN Community
# ==============================================================================

# =========================
# ==============================================================================
# main_window
# 绘制主界面
# 版本号存入$version_file
# =========================
# 绘制主界面,版本号存入$version_file
# ==============================================================================
function main_window () {
local my_version
local result
Expand Down

0 comments on commit dc29daf

Please sign in to comment.