mirror of
https://github.com/kevinveenbirkenbach/cli-gnome-extension-manager.git
synced 2024-11-24 09:21:03 +01:00
Solved naming bug
This commit is contained in:
parent
d211d53264
commit
639b09e9a4
@ -7,7 +7,7 @@
|
|||||||
action_type="$1"
|
action_type="$1"
|
||||||
extension_name="$2"
|
extension_name="$2"
|
||||||
extension_repository_path="$3"
|
extension_repository_path="$3"
|
||||||
extension_folder="$HOME/.local/share/gnome-shell/extensions/$extension_repository_path/"
|
extension_folder="$HOME/.local/share/gnome-shell/extensions/$extension_name/"
|
||||||
|
|
||||||
echo "=== GNOME Extension Installer ==="
|
echo "=== GNOME Extension Installer ==="
|
||||||
|
|
||||||
@ -29,7 +29,7 @@ if [ "$action_type" == "enable" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "$extension_folder/Makefile" ]; then
|
if [ -f "$extension_folder/Makefile" ]; then
|
||||||
tmp_extension_folder="/tmp/$extension_repository_path"
|
tmp_extension_folder="/tmp/$extension_name"
|
||||||
mv "$extension_folder" "$tmp_extension_folder"
|
mv "$extension_folder" "$tmp_extension_folder"
|
||||||
echo "Compiling extension..."
|
echo "Compiling extension..."
|
||||||
(cd "$tmp_extension_folder" && make install) || exit 1 "Compilation failed."
|
(cd "$tmp_extension_folder" && make install) || exit 1 "Compilation failed."
|
||||||
|
Loading…
Reference in New Issue
Block a user