}
}
program {
- name: "pass_event_enable";
- signal: "elm,event,pass,enabled";
- source: "elm";
- script {
- set_mouse_events(PART:"event", 0);
- }
- }
- program {
- name: "pass_event_disable";
- signal: "elm,event,pass,disabled";
- source:"elm";
- script {
- set_mouse_events(PART:"event", 1);
- }
- }
- program {
- name: "repeat_event_enable";
- signal: "elm,event,repeat,enabled";
- source: "elm";
- script {
- set_repeat_events(PART:"event", 1);
- }
- }
- program {
- name: "repeat_event_disable";
- signal: "elm,event,repeat,disabled";
- source:"elm";
- script {
- set_repeat_events(PART:"event", 0);
- }
- }
- program {
name: "make_blue";
signal: "button,color,blue";
source: "*";
}
}
program {
- name: "pass_event_enable";
- signal: "elm,event,pass,enabled";
- source: "elm";
- script {
- set_mouse_events(PART:"event", 0);
- }
- }
- program {
- name: "pass_event_disable";
- signal: "elm,event,pass,disabled";
- source:"elm";
- script {
- set_mouse_events(PART:"event", 1);
- }
- }
- program {
- name: "repeat_event_enable";
- signal: "elm,event,repeat,enabled";
- source: "elm";
- script {
- set_repeat_events(PART:"event", 1);
- }
- }
- program {
- name: "repeat_event_disable";
- signal: "elm,event,repeat,disabled";
- source:"elm";
- script {
- set_repeat_events(PART:"event", 0);
- }
- }
- program {
name: "make_blue";
signal: "button,color,blue";
source: "*";
do
current_package=$current_package_name-$VERSION-$RELEASE.$PLATFORM.rpm
ShowMessage "Installing the package $current_package ..."
- $SDB install $RPMSPATH/$current_package
+ #$SDB install $RPMSPATH/$current_package
#if hasPrefix $current_package; then
# install with pkgcmd
- #SdbShell "pkgcmd -q -i -t rpm -p $TEMPDIR/$current_package"
+ #SdbShell "pkgcmd -q -i -t rpm -p $TEMPDIR/$current_package"
#else
# uninstall with rpm
- #SdbShell "rpm -i $TEMPDIR/$current_package"
+ SdbShell "rpm -ivh --force --nodeps $TEMPDIR/$current_package"
#fi
done
ShowMessage "Installing the package $DEBUGSOURCEPKGNAME.rpm ..."
SdbShell "rpm -i $TEMPDIR/$DEBUGSOURCEPKGNAME.rpm"
fi
+
+ SdbShell "pkg_initdb"
}
##--------------- Running ----------------##
else
SdbShell "pkill -f $APPNAME"
ShowMessage "running the $ABSOLUTEPATHTOAPP..."
- SdbShell "$ABSOLUTEPATHTOAPP"
+ SdbShell "$ABSOLUTEPATHTOAPP"
fi
}
{
checkConnection
initPackageList
-
+
+ $SDB root on
#uninstall
- #push
+ push
install
+
+ $SDB root off
}
runApp()