summarylogtreecommitdiffstats
path: root/vdpm-notmp.patch
blob: 8d2469b5fc91f7c6fa0030af04a4f89263c0fb69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
diff --git a/vdpm b/vdpm
index a9107f2..7dcdfcb 100755
--- a/vdpm
+++ b/vdpm
@@ -20,18 +20,17 @@ write_success() {
 }
 
 install_pkg() {
-  if [ $(find "/tmp/vdpm_install_$1" -ctime -1 -print) ]; then
-    echo "skip install $1. Package previously installed less than one day ago"
-  else
+  #if [ $(find "/tmp/vdpm_install_$1" -ctime -1 -print) ]; then
+  #  echo "skip install $1. Package previously installed less than one day ago"
+  #else
     echo "Installing $1..."
     if [ -f $1 ]; then
       tar -C $VITASDK/arm-vita-eabi -Jxvf $1
     else
       curl -L https://github.com/vitasdk/packages/releases/download/master/$1.tar.xz | tar -C $VITASDK/arm-vita-eabi -Jxvf -
-      write_success $1
     fi
     echo "success"
-  fi
+  #fi
 }
 
 clean_tmp_file() {