Skip to content

Commit 735a02e

Browse files
committed
fixed an error for not having ~/.local/bin/
1 parent 0929a71 commit 735a02e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

install

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@ def install():
183183
if not os.path.isdir(bins):
184184
print("Failed to install: Cannot find bin directory.")
185185
sys.exit(2)
186+
if not os.path.isdir(dest_bins):
187+
os.mkdir(dest_bins)
186188
for files in os.listdir(bins):
187189
shutil.copy2(os.path.join(bins, files), dest_bins)
188190
print("Done!")

0 commit comments

Comments
 (0)