Browse Source

More temp directory clearing

Bob Mottram 8 years ago
parent
commit
134bb2c129
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/freedombone-app-xmpp

+ 4
- 0
src/freedombone-app-xmpp View File

@@ -206,6 +206,8 @@ function upgrade_xmpp_client {
206 206
         apt-get -y remove --purge profanity
207 207
     fi
208 208
 
209
+    rm -rf /tmp/*
210
+
209 211
     function_check set_repo_commit
210 212
     set_repo_commit $INSTALL_DIR/libmesode "libmesode commit" "$LIBMESODE_COMMIT" $LIBMESODE_REPO
211 213
     cd $INSTALL_DIR/libmesode
@@ -215,6 +217,8 @@ function upgrade_xmpp_client {
215 217
     make install
216 218
     cp /usr/local/lib/libmesode* /usr/lib
217 219
 
220
+    rm -rf /tmp/*
221
+
218 222
     function_check set_repo_commit
219 223
     set_repo_commit $INSTALL_DIR/profanity "profanity commit" "$PROFANITY_COMMIT" $PROFANITY_REPO
220 224
     cd $INSTALL_DIR/profanity