OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 # Download and extract MarkupSafe | 2 # Download and extract MarkupSafe |
3 # Homepage: | 3 # Homepage: |
4 # https://github.com/mitsuhiko/markupsafe | 4 # https://github.com/mitsuhiko/markupsafe |
5 # Download page: | 5 # Download page: |
6 # https://pypi.python.org/pypi/MarkupSafe | 6 # https://pypi.python.org/pypi/MarkupSafe |
7 PACKAGE='MarkupSafe' | 7 PACKAGE='MarkupSafe' |
8 VERSION='0.18' | 8 VERSION='0.18' |
9 PACKAGE_DIR='markupsafe' | 9 PACKAGE_DIR='markupsafe' |
10 | 10 |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 do | 112 do |
113 rm -fr "$FILE" | 113 rm -fr "$FILE" |
114 done | 114 done |
115 | 115 |
116 # Replace with new directory | 116 # Replace with new directory |
117 cd .. | 117 cd .. |
118 mv "$INSTALL_DIR" "$OLD_DIR" | 118 mv "$INSTALL_DIR" "$OLD_DIR" |
119 mv "$PACKAGE_DIR" "$INSTALL_DIR" | 119 mv "$PACKAGE_DIR" "$INSTALL_DIR" |
120 cd "$INSTALL_DIR" | 120 cd "$INSTALL_DIR" |
121 rm -fr "$OLD_DIR" | 121 rm -fr "$OLD_DIR" |
OLD | NEW |