diff options
author | maz-1 | 2015-10-26 15:00:40 +0800 |
---|---|---|
committer | maz-1 | 2015-10-26 15:00:40 +0800 |
commit | 3f46178a0eb5f875a1d7d803bb1fbe462add29ed (patch) | |
tree | a9ca1d8350ce83a7f5c421d50e9091e0bd7aa7fe | |
parent | d6ec0fe9b0dca12d10d27ea57c94bc08bf3886ec (diff) | |
download | aur-3f46178a0eb5f875a1d7d803bb1fbe462add29ed.tar.gz |
bump
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | modify_for_arch.patch | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -22,7 +22,7 @@ md5sums=('b7bf49a5516cb9e00943e06e3e73adf2' '15efc60875b77125f8d5399797306955' '32a9a04b595890e50fa10fe51823469a' '1f913fe9ca34481134bc36e1045e9a20' - '54f32f353153f594e6467f9e20c67934') + 'af4f56df7ad0fea080204b35ff206660') prepare() { diff --git a/modify_for_arch.patch b/modify_for_arch.patch index 79a03a15bd68..bd94e6306844 100644 --- a/modify_for_arch.patch +++ b/modify_for_arch.patch @@ -91,7 +91,7 @@ diff -Naur a/program/ucloner_cmd.py b/program/ucloner_cmd.py # 生成 mtab - tmp = commands.getstatusoutput( 'touch ' + target_dir+'/etc/mtab' ) -+ tmp = commands.getstatusoutput( 'ln -s /proc/self/mounts ' + target_dir+'/etc/mtab' ) ++ tmp = commands.getstatusoutput( '[ -f '+target_dir+'/etc/mtabs ] || ln -s /proc/self/mounts '+target_dir+'/etc/mtab' ) # 修复休眠功能 ret = functions.fix_resume( target_dir, swappart ) |