mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-12-16 14:01:14 +01:00
fix indent with vim on termux
web interface would have worked, if I had deleted the tabs, first This vim is adding tabs instead of matching the previous line's indentation. Looking into fixing that now...
This commit is contained in:
parent
bafd21bb39
commit
c5923201a4
1 changed files with 6 additions and 6 deletions
|
|
@ -229,12 +229,12 @@ final class TermuxInstaller {
|
||||||
File storageDir = new File(TermuxService.HOME_PATH, "storage");
|
File storageDir = new File(TermuxService.HOME_PATH, "storage");
|
||||||
|
|
||||||
if (storageDir.exists()) {
|
if (storageDir.exists()) {
|
||||||
try {
|
try {
|
||||||
deleteFolder(storageDir);
|
deleteFolder(storageDir);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
Log.e(LOG_TAG, "Could not delete old $HOME/storage, " + e.getMessage());
|
Log.e(LOG_TAG, "Could not delete old $HOME/storage, " + e.getMessage());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!storageDir.mkdirs()) {
|
if (!storageDir.mkdirs()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue