Code

Added missing icon
[gosa.git] / gosa-core / dh-make-gosa
index 4b85a9e53abac944c73c17cd4a7db3f1863cd1fa..203ca26f109d5c7947e9d4977091a0818bdfa53f 100755 (executable)
@@ -75,7 +75,7 @@ if [ -d "$file" ]; then
   load_dsc $file/plugin.dsc
 
   # Setup build environment
-  BUILD_PATH=${DEST}gosa-plugin-${PL_NAME}-${PL_VERSION}
+  BUILD_PATH=${DEST}gosa-plugin-${PL_NAME}-${PL_VERSION}${ADD_VERSION}
   if [ -d "$BUILD_PATH" ]; then
     echo "Error: build path $BUILD_PATH already exists" >&2
     exit 2
@@ -142,10 +142,10 @@ echo "Apdapting debian descriptive files..."
 
 # Generate install file
 for dir in admin personal addons; do
-       [ -d $dir ] && echo -e "$dir\t\t\t/usr/share/gosa/plugins" > debian/install
+       [ -d $dir ] && echo -e "$dir\t\t\t/usr/share/gosa/plugins" >> debian/install
 done
 for dir in help/*; do
-       echo -e "$dir\t\t\t/usr/share/gosa/plugins/$PL_NAME" >> debian/install
+       echo -e "$dir\t\t\t/usr/share/gosa/doc/plugins/$PL_NAME" >> debian/install
 done
 for dir in $(ls -1 locale | grep -v "^en$" | grep -v "^messages.po$"); do
        echo -e "locale/$dir\t\t\t/usr/share/gosa/locale/plugins/$PL_NAME" >> debian/install